Interface Expression
interface Expression {
type: Type;
eachChild(fn: (a: Expression) => void): void;
evaluate(ctx: EvaluationContext): any;
outputDefined(): boolean;
}
type: Type;
eachChild(fn: (a: Expression) => void): void;
evaluate(ctx: EvaluationContext): any;
outputDefined(): boolean;
}
Implemented by
Index
Properties
Methods
Methods
eachChild
Parameters
- fn: (a: Expression) => void
Returns void
evaluate
Parameters
- ctx: EvaluationContext
Returns any
outputDefined
Statically analyze the expression, attempting to enumerate possible outputs. Returns false if the complete set of outputs is statically undecidable, otherwise true.
Returns boolean
Was this helpful?
Expression