MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Eval

Method Eval

ext/bindings.go:325–327  ·  view source on GitHub ↗

Eval implements the interpreter.Interpretable interface method, and will proxy @index prefixed variable lookups into a set of constant slots determined from the plan step.

(activation cel.Activation)

Source from the content-addressed store, hash-verified

323// Eval implements the interpreter.Interpretable interface method, and will proxy @index prefixed variable
324// lookups into a set of constant slots determined from the plan step.
325func (b *constantBlock) Eval(activation cel.Activation) ref.Val {
326 return b.Exec(interpreter.AsFrame(activation))
327}
328
329type constantSlotActivation struct {
330 cel.Activation

Callers 1

TestConstantBlockEvalFunction · 0.95

Calls 2

ExecMethod · 0.95
AsFrameFunction · 0.92

Tested by 1

TestConstantBlockEvalFunction · 0.76