3 namespace PhpParser\Node\Expr;
5 use PhpParser\Node\Expr;
7 abstract class BinaryOp extends Expr
9 /** @var Expr The left hand side expression */
11 /** @var Expr The right hand side expression */
15 * Constructs a bitwise and node.
17 * @param Expr $left The left hand side expression
18 * @param Expr $right The right hand side expression
19 * @param array $attributes Additional attributes
21 public function __construct(Expr $left, Expr $right, array $attributes = array()) {
22 parent::__construct($attributes);
24 $this->right = $right;
27 public function getSubNodeNames() {
28 return array('left', 'right');