(n *semantic.BinaryOp)
| 500 | } |
| 501 | |
| 502 | func (e *encoder) binaryOp(n *semantic.BinaryOp) (outID uint64) { |
| 503 | e.build(&e.instances.BinaryOp, e.maps.BinaryOp, n, &outID, func() *BinaryOp { |
| 504 | return &BinaryOp{ |
| 505 | Ast: e.astBinaryOp(n.AST), |
| 506 | Type: e.ty(n.Type), |
| 507 | Lhs: e.expr(n.LHS), |
| 508 | Operator: e.str(n.Operator), |
| 509 | Rhs: e.expr(n.RHS)} |
| 510 | }) |
| 511 | return |
| 512 | } |
| 513 | |
| 514 | func (e *encoder) bitTest(n *semantic.BitTest) (outID uint64) { |
| 515 | e.build(&e.instances.BitTest, e.maps.BitTest, n, &outID, func() *BitTest { |