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

Method astBinaryOp

gapil/bapi/decode.go:1437–1445  ·  view source on GitHub ↗
(astBinaryOpID uint64)

Source from the content-addressed store, hash-verified

1435}
1436
1437func (d *decoder) astBinaryOp(astBinaryOpID uint64) (out *ast.BinaryOp) {
1438 d.build(d.content.Instances.AstBinaryOp, &d.inst.ASTBinaryOp, astBinaryOpID, &out,
1439 func(p *ASTBinaryOp, s *ast.BinaryOp) {
1440 s.LHS = d.astNode(p.Lhs)
1441 s.Operator = d.str(p.Operator)
1442 s.RHS = d.astNode(p.Rhs)
1443 })
1444 return
1445}
1446
1447func (d *decoder) astBool(astBoolID uint64) (out *ast.Bool) {
1448 d.build(d.content.Instances.AstBool, &d.inst.ASTBool, astBoolID, &out,

Callers 4

binaryOpMethod · 0.95
bitTestMethod · 0.95
mapContainsMethod · 0.95
astNodeMethod · 0.95

Calls 3

buildMethod · 0.95
astNodeMethod · 0.95
strMethod · 0.95

Tested by

no test coverage detected