class HaltCompiler
Hierarchy
- class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
- class \PhpParser\Node\Stmt extends \PhpParser\NodeAbstract
- class \PhpParser\Node\Stmt\HaltCompiler extends \PhpParser\Node\Stmt
- class \PhpParser\Node\Stmt extends \PhpParser\NodeAbstract
Expanded class hierarchy of HaltCompiler
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Stmt/ HaltCompiler.php, line 7
Namespace
PhpParser\Node\StmtView source
class HaltCompiler extends Stmt {
/** @var string Remaining text after halt compiler statement. */
public string $remaining;
/**
* Constructs a __halt_compiler node.
*
* @param string $remaining Remaining text after halt compiler statement.
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(string $remaining, array $attributes = []) {
$this->attributes = $attributes;
$this->remaining = $remaining;
}
public function getSubNodeNames() : array {
return [
'remaining',
];
}
public function getType() : string {
return 'Stmt_HaltCompiler';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
HaltCompiler::$remaining | public | property | @var string Remaining text after halt compiler statement. |
HaltCompiler::getSubNodeNames | public | function | |
HaltCompiler::getType | public | function | |
HaltCompiler::__construct | public | function | Constructs a __halt_compiler node. |