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

Method assign

gapil/bapi/encode.go:490–500  ·  view source on GitHub ↗
(n *semantic.Assign)

Source from the content-addressed store, hash-verified

488}
489
490func (e *encoder) assign(n *semantic.Assign) (outID uint64) {
491 e.build(&e.instances.Assign, e.maps.Assign, n, &outID, func() *Assign {
492 return &Assign{
493 Ast: e.astAssign(n.AST),
494 Lhs: e.expr(n.LHS),
495 Operator: e.str(n.Operator),
496 Rhs: e.expr(n.RHS),
497 }
498 })
499 return
500}
501
502func (e *encoder) binaryOp(n *semantic.BinaryOp) (outID uint64) {
503 e.build(&e.instances.BinaryOp, e.maps.BinaryOp, n, &outID, func() *BinaryOp {

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