2014-02-06 14:44:16 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace PhpParser\Node\Expr;
|
|
|
|
|
|
|
|
use PhpParser\Node\Expr;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property Expr $left The left hand side expression
|
|
|
|
* @property Expr $right The right hand side expression
|
|
|
|
*/
|
2015-01-17 23:38:59 +01:00
|
|
|
abstract class BinaryOp extends Expr
|
2014-02-06 14:44:16 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Constructs a bitwise and node.
|
|
|
|
*
|
|
|
|
* @param Expr $left The left hand side expression
|
|
|
|
* @param Expr $right The right hand side expression
|
|
|
|
* @param array $attributes Additional attributes
|
|
|
|
*/
|
|
|
|
public function __construct(Expr $left, Expr $right, array $attributes = array()) {
|
|
|
|
parent::__construct(
|
|
|
|
array(
|
|
|
|
'left' => $left,
|
|
|
|
'right' => $right
|
|
|
|
),
|
|
|
|
$attributes
|
|
|
|
);
|
|
|
|
}
|
2015-01-17 23:38:59 +01:00
|
|
|
}
|