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

Method mapAssign

gapil/bapi/encode.go:1086–1096  ·  view source on GitHub ↗
(n *semantic.MapAssign)

Source from the content-addressed store, hash-verified

1084}
1085
1086func (e *encoder) mapAssign(n *semantic.MapAssign) (outID uint64) {
1087 e.build(&e.instances.MapAssign, e.maps.MapAssign, n, &outID, func() *MapAssign {
1088 return &MapAssign{
1089 Ast: e.astAssign(n.AST),
1090 To: e.expr(n.To),
1091 Operator: e.str(n.Operator),
1092 Value: e.expr(n.Value),
1093 }
1094 })
1095 return
1096}
1097
1098func (e *encoder) mapContains(n *semantic.MapContains) (outID uint64) {
1099 e.build(&e.instances.MapContains, e.maps.MapContains, n, &outID, func() *MapContains {

Callers 2

nodeMethod · 0.95
statMethod · 0.95

Calls 4

buildMethod · 0.95
astAssignMethod · 0.95
exprMethod · 0.95
strMethod · 0.95

Tested by

no test coverage detected