MCPcopy Create free account
hub / github.com/google/gapid / mapIteration

Method mapIteration

gapil/bapi/encode.go:1122–1134  ·  view source on GitHub ↗
(n *semantic.MapIteration)

Source from the content-addressed store, hash-verified

1120}
1121
1122func (e *encoder) mapIteration(n *semantic.MapIteration) (outID uint64) {
1123 e.build(&e.instances.MapIteration, e.maps.MapIteration, n, &outID, func() *MapIteration {
1124 return &MapIteration{
1125 Ast: e.astMapIteration(n.AST),
1126 IndexIterator: e.local(n.IndexIterator),
1127 KeyIterator: e.local(n.KeyIterator),
1128 ValueIterator: e.local(n.ValueIterator),
1129 Map: e.expr(n.Map),
1130 Block: e.block(n.Block),
1131 }
1132 })
1133 return
1134}
1135
1136func (e *encoder) mapRemove(n *semantic.MapRemove) (outID uint64) {
1137 e.build(&e.instances.MapRemove, e.maps.MapRemove, n, &outID, func() *MapRemove {

Callers 2

nodeMethod · 0.95
statMethod · 0.95

Calls 5

buildMethod · 0.95
astMapIterationMethod · 0.95
localMethod · 0.95
exprMethod · 0.95
blockMethod · 0.95

Tested by

no test coverage detected