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

Method Exec

interpreter/interpretable.go:1446–1455  ·  view source on GitHub ↗

Exec implements the InterpretableV2 interface method.

(frame *ExecutionFrame)

Source from the content-addressed store, hash-verified

1444
1445// Exec implements the InterpretableV2 interface method.
1446func (e *evalSetMembership) Exec(frame *ExecutionFrame) ref.Val {
1447 val := e.arg.Exec(frame)
1448 if types.IsUnknownOrError(val) {
1449 return val
1450 }
1451 if ret, found := e.valueSet[val]; found {
1452 return ret
1453 }
1454 return types.False
1455}
1456
1457// Eval implements the Interpretable interface method.
1458func (e *evalSetMembership) Eval(ctx Activation) ref.Val {

Callers

nothing calls this directly

Calls 2

IsUnknownOrErrorFunction · 0.92
ExecMethod · 0.65

Tested by

no test coverage detected