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

Method bitTest

gapil/bapi/encode.go:514–523  ·  view source on GitHub ↗
(n *semantic.BitTest)

Source from the content-addressed store, hash-verified

512}
513
514func (e *encoder) bitTest(n *semantic.BitTest) (outID uint64) {
515 e.build(&e.instances.BitTest, e.maps.BitTest, n, &outID, func() *BitTest {
516 return &BitTest{
517 Ast: e.astBinaryOp(n.AST),
518 Bitfield: e.expr(n.Bitfield),
519 Bits: e.expr(n.Bits),
520 }
521 })
522 return
523}
524
525func (e *encoder) boolValue(n semantic.BoolValue) (outID uint64) {
526 e.build(&e.instances.BoolValue, e.maps.BoolValue, n, &outID, func() *BoolValue {

Callers 2

nodeMethod · 0.95
exprMethod · 0.95

Calls 3

buildMethod · 0.95
astBinaryOpMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected