(n *semantic.SliceIndex)
| 1336 | } |
| 1337 | |
| 1338 | func (e *encoder) sliceIndex(n *semantic.SliceIndex) (outID uint64) { |
| 1339 | e.build(&e.instances.SliceIndex, e.maps.SliceIndex, n, &outID, func() *SliceIndex { |
| 1340 | return &SliceIndex{ |
| 1341 | Ast: e.astIndex(n.AST), |
| 1342 | Type: e.slice(n.Type), |
| 1343 | Slice: e.expr(n.Slice), |
| 1344 | Index: e.expr(n.Index), |
| 1345 | } |
| 1346 | }) |
| 1347 | return |
| 1348 | } |
| 1349 | |
| 1350 | func (e *encoder) sliceRange(n *semantic.SliceRange) (outID uint64) { |
| 1351 | e.build(&e.instances.SliceRange, e.maps.SliceRange, n, &outID, func() *SliceRange { |