Exec implements the InterpretableV2 interface method.
(frame *ExecutionFrame)
| 1923 | |
| 1924 | // Exec implements the InterpretableV2 interface method. |
| 1925 | func (c *evalWatchConstructor) Exec(frame *ExecutionFrame) ref.Val { |
| 1926 | val := c.constructor.Exec(frame) |
| 1927 | c.observer(frame, c.ID(), c.constructor, val) |
| 1928 | return val |
| 1929 | } |
| 1930 | |
| 1931 | // Eval implements the Interpretable Eval function. |
| 1932 | func (c *evalWatchConstructor) Eval(vars Activation) ref.Val { |