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

Method Eval

interpreter/interpretable.go:836–838  ·  view source on GitHub ↗

Eval implements the Interpretable interface method.

(ctx Activation)

Source from the content-addressed store, hash-verified

834
835// Eval implements the Interpretable interface method.
836func (m *evalMap) Eval(ctx Activation) ref.Val {
837 return m.Exec(AsFrame(ctx))
838}
839
840func (m *evalMap) InitVals() []InterpretableV2 {
841 if len(m.keys) != len(m.vals) {

Callers

nothing calls this directly

Calls 2

ExecMethod · 0.95
AsFrameFunction · 0.85

Tested by

no test coverage detected