CompiledVariable
CompiledVariable represents a variable name, expression, and output type.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CompiledVariable(
sourceIdValue,nameValue,expressionValue):CompiledVariable
constructor stores one compiled variable.
Parameters
Section titled “Parameters”sourceIdValue
Section titled “sourceIdValue”number
nameValue
Section titled “nameValue”string
expressionValue
Section titled “expressionValue”AST
Returns
Section titled “Returns”CompiledVariable
Methods
Section titled “Methods”expression()
Section titled “expression()”expression():
AST
expression returns the checked variable expression.
Returns
Section titled “Returns”AST
name()
Section titled “name()”name():
string
name returns the variable name.
Returns
Section titled “Returns”string
sourceId()
Section titled “sourceId()”sourceId():
number
sourceId returns the source metadata identifier associated with the variable.
Returns
Section titled “Returns”number