PageRenderTime 50ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/scanner/PHP-Parser/lib/PHPParser/Node/Expr/Exit.php

https://bitbucket.org/heinep/thaps
PHP | 23 lines | 12 code | 1 blank | 10 comment | 0 complexity | 56e80114c2f6d727a657e1d5cbe07cd5 MD5 | raw file
Possible License(s): BSD-3-Clause, GPL-3.0
  1. <?php
  2. /**
  3. * @property null|PHPParser_Node_Expr $expr Expression
  4. */
  5. class PHPParser_Node_Expr_Exit extends PHPParser_Node_Expr
  6. {
  7. /**
  8. * Constructs an exit() node.
  9. *
  10. * @param null|PHPParser_Node_Expr $expr Expression
  11. * @param int $line Line
  12. * @param null|string $docComment Nearest doc comment
  13. */
  14. public function __construct(PHPParser_Node_Expr $expr = null, $line = -1, $docComment = null) {
  15. parent::__construct(
  16. array(
  17. 'expr' => $expr
  18. ),
  19. $line, $docComment
  20. );
  21. }
  22. }