NewConstValue creates a new constant valued Interpretable.
(id int64, val ref.Val)
| 297 | |
| 298 | // NewConstValue creates a new constant valued Interpretable. |
| 299 | func NewConstValue(id int64, val ref.Val) InterpretableConst { |
| 300 | return &evalConst{ |
| 301 | id: id, |
| 302 | val: val, |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | type evalConst struct { |
| 307 | id int64 |
no outgoing calls