| 885 | } |
| 886 | |
| 887 | func (d *decoder) mapIndex(mapIndexID uint64) (out *semantic.MapIndex) { |
| 888 | d.build(d.content.Instances.MapIndex, &d.inst.MapIndex, mapIndexID, &out, |
| 889 | func(p *MapIndex, s *semantic.MapIndex) { |
| 890 | s.AST = d.astIndex(p.Ast) |
| 891 | s.Type = d.map_(p.Type) |
| 892 | s.Map = d.expr(p.Map) |
| 893 | s.Index = d.expr(p.Index) |
| 894 | }) |
| 895 | return |
| 896 | } |
| 897 | |
| 898 | func (d *decoder) mapIteration(mapIterationID uint64) (out *semantic.MapIteration) { |
| 899 | d.build(d.content.Instances.MapIteration, &d.inst.MapIteration, mapIterationID, &out, |