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

Method assign

gapil/bapi/decode.go:306–315  ·  view source on GitHub ↗
(assignID uint64)

Source from the content-addressed store, hash-verified

304}
305
306func (d *decoder) assign(assignID uint64) (out *semantic.Assign) {
307 d.build(d.content.Instances.Assign, &d.inst.Assign, assignID, &out,
308 func(p *Assign, s *semantic.Assign) {
309 s.AST = d.astAssign(p.Ast)
310 s.LHS = d.expr(p.Lhs)
311 s.Operator = d.str(p.Operator)
312 s.RHS = d.expr(p.Rhs)
313 })
314 return
315}
316
317func (d *decoder) arrayInit(arrayInitID uint64) (out *semantic.ArrayInitializer) {
318 d.build(d.content.Instances.ArrayInit, &d.inst.ArrayInit, arrayInitID, &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