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

Method mapIndex

gapil/bapi/decode.go:887–896  ·  view source on GitHub ↗
(mapIndexID uint64)

Source from the content-addressed store, hash-verified

885}
886
887func (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
898func (d *decoder) mapIteration(mapIterationID uint64) (out *semantic.MapIteration) {
899 d.build(d.content.Instances.MapIteration, &d.inst.MapIteration, mapIterationID, &out,

Callers 1

exprMethod · 0.95

Calls 4

buildMethod · 0.95
astIndexMethod · 0.95
map_Method · 0.95
exprMethod · 0.95

Tested by

no test coverage detected