Exec implements the InterpretableV2 interface method.
(frame *ExecutionFrame)
| 1120 | |
| 1121 | // Exec implements the InterpretableV2 interface method. |
| 1122 | func (e *evalWatchAttr) Exec(frame *ExecutionFrame) ref.Val { |
| 1123 | val := e.InterpretableAttribute.Exec(frame) |
| 1124 | e.observer(frame, e.ID(), e.InterpretableAttribute, val) |
| 1125 | return val |
| 1126 | } |
| 1127 | |
| 1128 | // Eval implements the Interpretable interface method. |
| 1129 | func (e *evalWatchAttr) Eval(vars Activation) ref.Val { |