(sliID uint64)
| 1111 | } |
| 1112 | |
| 1113 | func (d *decoder) sliceRange(sliID uint64) (out *semantic.SliceRange) { |
| 1114 | d.build(d.content.Instances.SliceRange, &d.inst.SliceRange, sliID, &out, |
| 1115 | func(p *SliceRange, s *semantic.SliceRange) { |
| 1116 | s.AST = d.astIndex(p.Ast) |
| 1117 | s.Type = d.slice(p.Type) |
| 1118 | s.Slice = d.expr(p.Slice) |
| 1119 | s.Range = d.expr(p.Range).(*semantic.BinaryOp) |
| 1120 | }) |
| 1121 | return |
| 1122 | } |
| 1123 | |
| 1124 | func (d *decoder) stat(statID uint64) semantic.Statement { |
| 1125 | if statID == 0 { |