Exec implements the InterpretableV2 interface method.
(frame *ExecutionFrame)
| 1256 | |
| 1257 | // Exec implements the InterpretableV2 interface method. |
| 1258 | func (e *evalWatchConst) Exec(frame *ExecutionFrame) ref.Val { |
| 1259 | val := e.Value() |
| 1260 | e.observer(frame, e.ID(), e.InterpretableConst, val) |
| 1261 | return val |
| 1262 | } |
| 1263 | |
| 1264 | // Eval implements the Interpretable interface method. |
| 1265 | func (e *evalWatchConst) Eval(vars Activation) ref.Val { |