IDs implements the EvalState interface method.
()
| 49 | |
| 50 | // IDs implements the EvalState interface method. |
| 51 | func (s *evalState) IDs() []int64 { |
| 52 | var ids []int64 |
| 53 | for k, v := range s.values { |
| 54 | if v != nil { |
| 55 | ids = append(ids, k) |
| 56 | } |
| 57 | } |
| 58 | return ids |
| 59 | } |
| 60 | |
| 61 | // Value is an implementation of the EvalState interface method. |
| 62 | func (s *evalState) Value(exprID int64) (ref.Val, bool) { |
nothing calls this directly
no outgoing calls
no test coverage detected