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

Method arrayAssign

gapil/bapi/encode.go:443–453  ·  view source on GitHub ↗
(n *semantic.ArrayAssign)

Source from the content-addressed store, hash-verified

441}
442
443func (e *encoder) arrayAssign(n *semantic.ArrayAssign) (outID uint64) {
444 e.build(&e.instances.ArrayAssign, e.maps.ArrayAssign, n, &outID, func() *ArrayAssign {
445 return &ArrayAssign{
446 Ast: e.astAssign(n.AST),
447 To: e.expr(n.To),
448 Operator: e.str(n.Operator),
449 Value: e.expr(n.Value),
450 }
451 })
452 return
453}
454
455func (e *encoder) arrayIndex(n *semantic.ArrayIndex) (outID uint64) {
456 e.build(&e.instances.ArrayIndex, e.maps.ArrayIndex, n, &outID, func() *ArrayIndex {

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