GetState extracts the EvalState from the Activation.
(frame *ExecutionFrame)
| 143 | |
| 144 | // GetState extracts the EvalState from the Activation. |
| 145 | func (et *evalStateFactory) GetState(frame *ExecutionFrame) any { |
| 146 | if frame.ctx == nil { |
| 147 | return nil |
| 148 | } |
| 149 | return frame.ctx.state |
| 150 | } |
| 151 | |
| 152 | // Observe records the evaluation state for a given expression node and program step. |
| 153 | func (et *evalStateFactory) Observe(vars Activation, id int64, programStep any, val ref.Val) { |
nothing calls this directly
no outgoing calls
no test coverage detected