SetValue is an implementation of the EvalState interface method.
(exprID int64, val ref.Val)
| 66 | |
| 67 | // SetValue is an implementation of the EvalState interface method. |
| 68 | func (s *evalState) SetValue(exprID int64, val ref.Val) { |
| 69 | if val == nil { |
| 70 | delete(s.values, exprID) |
| 71 | } else { |
| 72 | s.values[exprID] = val |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // Reset implements the EvalState interface method. |
| 77 | func (s *evalState) Reset() { |
nothing calls this directly
no outgoing calls
no test coverage detected