BitwiseNot.php 545 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @property PHPParser_Node_Expr $expr Expression
  4. */
  5. class PHPParser_Node_Expr_BitwiseNot extends PHPParser_Node_Expr
  6. {
  7. /**
  8. * Constructs a bitwise not node.
  9. *
  10. * @param PHPParser_Node_Expr $expr Expression
  11. * @param array $attributes Additional attributes
  12. */
  13. public function __construct(PHPParser_Node_Expr $expr, array $attributes = array()) {
  14. parent::__construct(
  15. array(
  16. 'expr' => $expr
  17. ),
  18. $attributes
  19. );
  20. }
  21. }