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

Method mapRemove

gapil/bapi/decode.go:911–920  ·  view source on GitHub ↗
(mapRemoveID uint64)

Source from the content-addressed store, hash-verified

909}
910
911func (d *decoder) mapRemove(mapRemoveID uint64) (out *semantic.MapRemove) {
912 d.build(d.content.Instances.MapRemove, &d.inst.MapRemove, mapRemoveID, &out,
913 func(p *MapRemove, s *semantic.MapRemove) {
914 s.AST = d.astDelete(p.Ast)
915 s.Type = d.map_(p.Type)
916 s.Map = d.expr(p.Map)
917 s.Key = d.expr(p.Key)
918 })
919 return
920}
921
922func (d *decoder) mapClear(mapClearID uint64) (out *semantic.MapClear) {
923 d.build(d.content.Instances.MapClear, &d.inst.MapClear, mapClearID, &out,

Callers 2

statMethod · 0.95
nodeMethod · 0.95

Calls 4

buildMethod · 0.95
astDeleteMethod · 0.95
map_Method · 0.95
exprMethod · 0.95

Tested by

no test coverage detected