Eval implements the interpreter.Interpretable interface method, and will proxy @index prefixed variable lookups into a set of constant slots determined from the plan step.
(activation cel.Activation)
| 323 | // Eval implements the interpreter.Interpretable interface method, and will proxy @index prefixed variable |
| 324 | // lookups into a set of constant slots determined from the plan step. |
| 325 | func (b *constantBlock) Eval(activation cel.Activation) ref.Val { |
| 326 | return b.Exec(interpreter.AsFrame(activation)) |
| 327 | } |
| 328 | |
| 329 | type constantSlotActivation struct { |
| 330 | cel.Activation |