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

Method astBinaryOp

gapil/bapi/encode.go:1603–1612  ·  view source on GitHub ↗
(n *ast.BinaryOp)

Source from the content-addressed store, hash-verified

1601}
1602
1603func (e *encoder) astBinaryOp(n *ast.BinaryOp) (outID uint64) {
1604 e.build(&e.instances.AstBinaryOp, e.maps.ASTBinaryOp, n, &outID, func() *ASTBinaryOp {
1605 return &ASTBinaryOp{
1606 Lhs: e.astNode(n.LHS),
1607 Operator: e.str(n.Operator),
1608 Rhs: e.astNode(n.RHS),
1609 }
1610 })
1611 return
1612}
1613
1614func (e *encoder) astBlock(n *ast.Block) (outID uint64) {
1615 e.build(&e.instances.AstBlock, e.maps.ASTBlock, n, &outID, func() *ASTBlock {

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