Exec implements the InterpretableV2 interface method.
(frame *ExecutionFrame)
| 1214 | |
| 1215 | // Exec implements the InterpretableV2 interface method. |
| 1216 | func (e *evalWatchConst) Exec(frame *ExecutionFrame) ref.Val { |
| 1217 | val := e.Value() |
| 1218 | e.observer(frame, e.ID(), e.InterpretableConst, val) |
| 1219 | return val |
| 1220 | } |
| 1221 | |
| 1222 | // Eval implements the Interpretable interface method. |
| 1223 | func (e *evalWatchConst) Eval(vars Activation) ref.Val { |