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

Struct ExecutionFrame

interpreter/frame.go:61–70  ·  view source on GitHub ↗

ExecutionFrame provides the context for a single evaluation of an expression. The execution frame must not be stored in any fashion as its lifecycle is completely controlled by the CEL evaluation process.

Source from the content-addressed store, hash-verified

59// The execution frame must not be stored in any fashion as its lifecycle is completely
60// controlled by the CEL evaluation process.
61type ExecutionFrame struct {
62 // Activation provides the context for resolving variables by name.
63 Activation
64
65 // parent provides the context for parent scopes (used for comprehension iterators).
66 parent *ExecutionFrame
67
68 // ctx provides the shared evaluation state across frames.
69 ctx *evalContext
70}
71
72// NewExecutionFrame creates a new execution frame from the pool.
73func NewExecutionFrame(input any) (*ExecutionFrame, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected