Constructors

Properties

ast: ExprNode
compiledExpression: Expression
currentSteps: StepRecord[][]
dependencies: string[][]
nodeStack: GeneratedExprNode[]
variables: Set<string> = ...

Methods

  • Private

    Function calls like $count(...) are recorded in this.variables so that the MetaInf can have a record of what context variables (in this case functions) were accessed by the expression.

    Parameters

    • node: GeneratedExprNode

    Returns void

  • Parameters

    • node: GeneratedExprNode

    Returns GeneratedExprNode[]

  • Parameters

    • scopeWeExited: GeneratedExprNode

    Returns void

  • If we are looking to analyze only a portion of the jsonata program we can provide another jsonata expression such as '[procedure.value='serial']' which will filter the AST down to what is defined. In the case of '[procedure.value='serial']' the expression will extract the AST for $serial(...) as it may exist in the original program.

    Parameters

    • jsonatExpr: string

    Returns Promise<default>

Generated using TypeDoc