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

Method Eval

interpreter/interpretable.go:163–165  ·  view source on GitHub ↗

Eval proxies to the ObserveEval method while invoking a no-op callback to report the observations.

(vars Activation)

Source from the content-addressed store, hash-verified

161
162// Eval proxies to the ObserveEval method while invoking a no-op callback to report the observations.
163func (oi *ObservableInterpretable) Eval(vars Activation) ref.Val {
164 return oi.ObserveExec(AsFrame(vars), func(any) {})
165}
166
167// ObserveEval evaluates an interpretable and performs per-evaluation state-tracking.
168//

Callers 1

Calls 2

ObserveExecMethod · 0.95
AsFrameFunction · 0.85

Tested by 1