Skip to content

LogicalOrInterpretable

LogicalOrInterpretable evaluates CEL logical-or short-circuit semantics.

new LogicalOrInterpretable(idValue, termsValue, exhaustiveValue?): LogicalOrInterpretable

number

InterpretableV2[]

boolean = false

LogicalOrInterpretable

args(): InterpretableV2[]

args returns the normalized argument list for the call.

InterpretableV2[]

InterpretableCall.args


eval(activation): Val

eval evaluates the current node against an activation.

Activation

Val

InterpretableCall.eval


exec(frame): Val

exec evaluates the current node within the given execution frame.

ExecutionFrame

Val

InterpretableCall.exec


functionName(): string

functionName returns the CEL function name for the call.

string

InterpretableCall.functionName


id(): number

id returns the expression id associated with the node.

number

InterpretableCall.id


overloadId(): string

overloadId returns the overload id selected for the call, when known.

string

InterpretableCall.overloadId


withExhaustiveEval(): LogicalOrInterpretable

withExhaustiveEval returns a logical-or which evaluates every term.

LogicalOrInterpretable