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

Method arrayAssign

gapil/bapi/decode.go:295–304  ·  view source on GitHub ↗
(arrayAssignID uint64)

Source from the content-addressed store, hash-verified

293}
294
295func (d *decoder) arrayAssign(arrayAssignID uint64) (out *semantic.ArrayAssign) {
296 d.build(d.content.Instances.ArrayAssign, &d.inst.ArrayAssign, arrayAssignID, &out,
297 func(p *ArrayAssign, s *semantic.ArrayAssign) {
298 s.AST = d.astAssign(p.Ast)
299 s.To = d.expr(p.To).(*semantic.ArrayIndex)
300 s.Operator = d.str(p.Operator)
301 s.Value = d.expr(p.Value)
302 })
303 return
304}
305
306func (d *decoder) assign(assignID uint64) (out *semantic.Assign) {
307 d.build(d.content.Instances.Assign, &d.inst.Assign, assignID, &out,

Callers 2

statMethod · 0.95
nodeMethod · 0.95

Calls 4

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

Tested by

no test coverage detected