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

Method Exec

interpreter/interpretable.go:1258–1262  ·  view source on GitHub ↗

Exec implements the InterpretableV2 interface method.

(frame *ExecutionFrame)

Source from the content-addressed store, hash-verified

1256
1257// Exec implements the InterpretableV2 interface method.
1258func (e *evalWatchConst) Exec(frame *ExecutionFrame) ref.Val {
1259 val := e.Value()
1260 e.observer(frame, e.ID(), e.InterpretableConst, val)
1261 return val
1262}
1263
1264// Eval implements the Interpretable interface method.
1265func (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