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

Method astAssign

gapil/bapi/decode.go:1427–1435  ·  view source on GitHub ↗
(astAssignID uint64)

Source from the content-addressed store, hash-verified

1425}
1426
1427func (d *decoder) astAssign(astAssignID uint64) (out *ast.Assign) {
1428 d.build(d.content.Instances.AstAssign, &d.inst.ASTAssign, astAssignID, &out,
1429 func(p *ASTAssign, s *ast.Assign) {
1430 s.LHS = d.astNode(p.Lhs)
1431 s.Operator = d.str(p.Operator)
1432 s.RHS = d.astNode(p.Rhs)
1433 })
1434 return
1435}
1436
1437func (d *decoder) astBinaryOp(astBinaryOpID uint64) (out *ast.BinaryOp) {
1438 d.build(d.content.Instances.AstBinaryOp, &d.inst.ASTBinaryOp, astBinaryOpID, &out,

Callers 5

arrayAssignMethod · 0.95
assignMethod · 0.95
mapAssignMethod · 0.95
sliceAssignMethod · 0.95
astNodeMethod · 0.95

Calls 3

buildMethod · 0.95
astNodeMethod · 0.95
strMethod · 0.95

Tested by

no test coverage detected