FoldInterpretableValue
FoldInterpretableValue evaluates a CEL comprehension loop.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FoldInterpretableValue(
optionsValue):FoldInterpretableValue
Parameters
Section titled “Parameters”optionsValue
Section titled “optionsValue”Returns
Section titled “Returns”FoldInterpretableValue
Methods
Section titled “Methods”eval()
Section titled “eval()”eval(
activation):Val
eval evaluates the current node against an activation.
Parameters
Section titled “Parameters”activation
Section titled “activation”Returns
Section titled “Returns”Val
Implementation of
Section titled “Implementation of”exec()
Section titled “exec()”exec(
frame):Val
exec evaluates the current node within the given execution frame.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Val
Implementation of
Section titled “Implementation of”id():
number
id returns the expression id associated with the node.
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”withExhaustiveEval()
Section titled “withExhaustiveEval()”withExhaustiveEval():
FoldInterpretableValue
withExhaustiveEval marks the fold so false loop conditions do not short-circuit iteration.
Returns
Section titled “Returns”FoldInterpretableValue
withInterruptableEval()
Section titled “withInterruptableEval()”withInterruptableEval():
FoldInterpretableValue
withInterruptableEval marks the fold so it checks the execution frame for interruption.
Returns
Section titled “Returns”FoldInterpretableValue