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

Method mapIteration

gapil/bapi/decode.go:898–909  ·  view source on GitHub ↗
(mapIterationID uint64)

Source from the content-addressed store, hash-verified

896}
897
898func (d *decoder) mapIteration(mapIterationID uint64) (out *semantic.MapIteration) {
899 d.build(d.content.Instances.MapIteration, &d.inst.MapIteration, mapIterationID, &out,
900 func(p *MapIteration, s *semantic.MapIteration) {
901 s.AST = d.astMapIteration(p.Ast)
902 s.IndexIterator = d.local(p.IndexIterator)
903 s.KeyIterator = d.local(p.KeyIterator)
904 s.ValueIterator = d.local(p.ValueIterator)
905 s.Map = d.expr(p.Map)
906 s.Block = d.block(p.Block)
907 })
908 return
909}
910
911func (d *decoder) mapRemove(mapRemoveID uint64) (out *semantic.MapRemove) {
912 d.build(d.content.Instances.MapRemove, &d.inst.MapRemove, mapRemoveID, &out,

Callers 2

statMethod · 0.95
nodeMethod · 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