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

Method Eval

ext/bindings.go:241–243  ·  view source on GitHub ↗

Eval implements the Interpretable interface method.

(activation cel.Activation)

Source from the content-addressed store, hash-verified

239
240// Eval implements the Interpretable interface method.
241func (b *dynamicBlock) Eval(activation cel.Activation) ref.Val {
242 return b.Exec(interpreter.AsFrame(activation))
243}
244
245func (b *dynamicBlock) clearSlots(sa *dynamicSlotActivation) {
246 sa.reset()

Callers 1

TestDynamicBlockEvalFunction · 0.95

Calls 2

ExecMethod · 0.95
AsFrameFunction · 0.92

Tested by 1

TestDynamicBlockEvalFunction · 0.76