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

Method Exec

interpreter/interpretable.go:1216–1220  ·  view source on GitHub ↗

Exec implements the InterpretableV2 interface method.

(frame *ExecutionFrame)

Source from the content-addressed store, hash-verified

1214
1215// Exec implements the InterpretableV2 interface method.
1216func (e *evalWatchConst) Exec(frame *ExecutionFrame) ref.Val {
1217 val := e.Value()
1218 e.observer(frame, e.ID(), e.InterpretableConst, val)
1219 return val
1220}
1221
1222// Eval implements the Interpretable interface method.
1223func (e *evalWatchConst) Eval(vars Activation) ref.Val {

Callers 1

EvalMethod · 0.95

Calls 2

ValueMethod · 0.65
IDMethod · 0.65

Tested by

no test coverage detected