No Description

BinaryOp.php 725B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace PhpParser\Node\Expr;
  3. use PhpParser\Node\Expr;
  4. /**
  5. * @property Expr $left The left hand side expression
  6. * @property Expr $right The right hand side expression
  7. */
  8. abstract class BinaryOp extends Expr
  9. {
  10. /**
  11. * Constructs a bitwise and node.
  12. *
  13. * @param Expr $left The left hand side expression
  14. * @param Expr $right The right hand side expression
  15. * @param array $attributes Additional attributes
  16. */
  17. public function __construct(Expr $left, Expr $right, array $attributes = array()) {
  18. parent::__construct(
  19. array(
  20. 'left' => $left,
  21. 'right' => $right
  22. ),
  23. $attributes
  24. );
  25. }
  26. }