3 namespace PhpParser\Node\Stmt;
5 use PhpParser\Node\Stmt;
7 class HaltCompiler extends Stmt
9 /** @var string Remaining text after halt compiler statement. */
13 * Constructs a __halt_compiler node.
15 * @param string $remaining Remaining text after halt compiler statement.
16 * @param array $attributes Additional attributes
18 public function __construct($remaining, array $attributes = array()) {
19 parent::__construct($attributes);
20 $this->remaining = $remaining;
23 public function getSubNodeNames() {
24 return array('remaining');