Skip to content

FoldInterpretableValue

FoldInterpretableValue evaluates a CEL comprehension loop.

new FoldInterpretableValue(optionsValue): FoldInterpretableValue

FoldInterpretableOptions

FoldInterpretableValue

eval(activation): Val

eval evaluates the current node against an activation.

Activation

Val

InterpretableV2.eval


exec(frame): Val

exec evaluates the current node within the given execution frame.

ExecutionFrame

Val

InterpretableV2.exec


id(): number

id returns the expression id associated with the node.

number

InterpretableV2.id


withExhaustiveEval(): FoldInterpretableValue

withExhaustiveEval marks the fold so false loop conditions do not short-circuit iteration.

FoldInterpretableValue


withInterruptableEval(): FoldInterpretableValue

withInterruptableEval marks the fold so it checks the execution frame for interruption.

FoldInterpretableValue