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

Method Eval

cel/library.go:823–825  ·  view source on GitHub ↗

Eval evaluates the left-hand side optional to determine whether it contains a value, else proceeds with the right-hand side evaluation.

(ctx interpreter.Activation)

Source from the content-addressed store, hash-verified

821// Eval evaluates the left-hand side optional to determine whether it contains a value, else
822// proceeds with the right-hand side evaluation.
823func (opt *evalOptionalOrValue) Eval(ctx interpreter.Activation) ref.Val {
824 return opt.Exec(interpreter.AsFrame(ctx))
825}
826
827type timeLegacyLibrary struct{}
828

Callers

nothing calls this directly

Calls 2

ExecMethod · 0.95
AsFrameFunction · 0.92

Tested by

no test coverage detected