ShiftRight.php 796 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @property PHPParser_Node_Expr $left The left hand side expression
  4. * @property PHPParser_Node_Expr $right The right hand side expression
  5. */
  6. class PHPParser_Node_Expr_ShiftRight extends PHPParser_Node_Expr
  7. {
  8. /**
  9. * Constructs a shift right node.
  10. *
  11. * @param PHPParser_Node_Expr $left The left hand side expression
  12. * @param PHPParser_Node_Expr $right The right hand side expression
  13. * @param array $attributes Additional attributes
  14. */
  15. public function __construct(PHPParser_Node_Expr $left, PHPParser_Node_Expr $right, array $attributes = array()) {
  16. parent::__construct(
  17. array(
  18. 'left' => $left,
  19. 'right' => $right
  20. ),
  21. $attributes
  22. );
  23. }
  24. }