(n *semantic.MapIndex)
| 1108 | } |
| 1109 | |
| 1110 | func (e *encoder) mapIndex(n *semantic.MapIndex) (outID uint64) { |
| 1111 | e.build(&e.instances.MapIndex, e.maps.MapIndex, n, &outID, func() *MapIndex { |
| 1112 | return &MapIndex{ |
| 1113 | Ast: e.astIndex(n.AST), |
| 1114 | Type: e.map_(n.Type), |
| 1115 | Map: e.expr(n.Map), |
| 1116 | Index: e.expr(n.Index), |
| 1117 | } |
| 1118 | }) |
| 1119 | return |
| 1120 | } |
| 1121 | |
| 1122 | func (e *encoder) mapIteration(n *semantic.MapIteration) (outID uint64) { |
| 1123 | e.build(&e.instances.MapIteration, e.maps.MapIteration, n, &outID, func() *MapIteration { |