mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 12:24:39 +01:00
26 lines
606 B
PHP
26 lines
606 B
PHP
<?php
|
|
|
|
namespace PhpParser\Node\Stmt;
|
|
|
|
use PhpParser\Node\Stmt;
|
|
|
|
/**
|
|
* @property string $remaining Remaining text after halt compiler statement.
|
|
*/
|
|
class HaltCompiler extends Stmt
|
|
{
|
|
/**
|
|
* Constructs a __halt_compiler node.
|
|
*
|
|
* @param string $remaining Remaining text after halt compiler statement.
|
|
* @param array $attributes Additional attributes
|
|
*/
|
|
public function __construct($remaining, array $attributes = array()) {
|
|
parent::__construct(
|
|
array(
|
|
'remaining' => $remaining,
|
|
),
|
|
$attributes
|
|
);
|
|
}
|
|
} |