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

Method GetState

interpreter/interpreter.go:50–50  ·  view source on GitHub ↗

GetState retrieves the stateful metadata from the execution frame.

(*ExecutionFrame)

Source from the content-addressed store, hash-verified

48
49 // GetState retrieves the stateful metadata from the execution frame.
50 GetState(*ExecutionFrame) any
51
52 // Observe passes the activation and relevant evaluation metadata to the observer.
53 // The observe method is expected to do the equivalent of GetState(AsFrame(activation))

Callers 15

ObserveExecMethod · 0.65
Start_Method · 0.65
ExprMethod · 0.65
ConditionalOrMethod · 0.65
ConditionalAndMethod · 0.65
relationMethod · 0.65
calcMethod · 0.65
UnaryMethod · 0.65
memberMethod · 0.65
PrimaryMethod · 0.65
ExprListMethod · 0.65
ListInitMethod · 0.65

Implementers 2

evalStateFactoryinterpreter/interpreter.go
costTrackerFactoryinterpreter/runtimecost.go

Calls

no outgoing calls

Tested by

no test coverage detected