NewConstValue creates a new constant valued Interpretable.
(id int64, val ref.Val)
| 312 | |
| 313 | // NewConstValue creates a new constant valued Interpretable. |
| 314 | func NewConstValue(id int64, val ref.Val) InterpretableConst { |
| 315 | return &evalConst{ |
| 316 | id: id, |
| 317 | val: val, |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | type evalConst struct { |
| 322 | id int64 |
no outgoing calls