NewEvalState returns an EvalState instanced used to observe the intermediate evaluations of an expression.
()
| 42 | // NewEvalState returns an EvalState instanced used to observe the intermediate |
| 43 | // evaluations of an expression. |
| 44 | func NewEvalState() EvalState { |
| 45 | return &evalState{ |
| 46 | values: make(map[int64]ref.Val), |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | // IDs implements the EvalState interface method. |
| 51 | func (s *evalState) IDs() []int64 { |
no outgoing calls