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

Struct ExecutionFrame

interpreter/frame.go:72–81  ·  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

70// The execution frame must not be stored in any fashion as its lifecycle is completely
71// controlled by the CEL evaluation process.
72type ExecutionFrame struct {
73 // Activation provides the context for resolving variables by name.
74 Activation
75
76 // parent provides the context for parent scopes (used for comprehension iterators).
77 parent *ExecutionFrame
78
79 // ctx provides the shared evaluation state across frames.
80 ctx *evalContext
81}
82
83// NewExecutionFrame creates a new execution frame from the pool.
84func NewExecutionFrame(input any) (*ExecutionFrame, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected