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

Method mapContains

gapil/bapi/encode.go:1098–1108  ·  view source on GitHub ↗
(n *semantic.MapContains)

Source from the content-addressed store, hash-verified

1096}
1097
1098func (e *encoder) mapContains(n *semantic.MapContains) (outID uint64) {
1099 e.build(&e.instances.MapContains, e.maps.MapContains, n, &outID, func() *MapContains {
1100 return &MapContains{
1101 Ast: e.astBinaryOp(n.AST),
1102 Type: e.map_(n.Type),
1103 Map: e.expr(n.Map),
1104 Key: e.expr(n.Key),
1105 }
1106 })
1107 return
1108}
1109
1110func (e *encoder) mapIndex(n *semantic.MapIndex) (outID uint64) {
1111 e.build(&e.instances.MapIndex, e.maps.MapIndex, n, &outID, func() *MapIndex {

Callers 2

nodeMethod · 0.95
exprMethod · 0.95

Calls 4

buildMethod · 0.95
astBinaryOpMethod · 0.95
map_Method · 0.95
exprMethod · 0.95

Tested by

no test coverage detected