Exec implements the InterpretableV2 interface method.
(frame *ExecutionFrame)
| 1668 | |
| 1669 | // Exec implements the InterpretableV2 interface method. |
| 1670 | func (e *evalWatchConst) Exec(frame *ExecutionFrame) ref.Val { |
| 1671 | val := e.Value() |
| 1672 | e.observer(frame, e.ID(), e.InterpretableConst, val) |
| 1673 | return val |
| 1674 | } |
| 1675 | |
| 1676 | // Eval implements the Interpretable interface method. |
| 1677 | func (e *evalWatchConst) Eval(vars Activation) ref.Val { |