Home
last modified time | relevance | path

Searched refs:Exit_ (Results 1 – 5 of 5) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DExit_.php7 class Exit_ extends Expr { class
/PHP-Parser/test/PhpParser/
H A DParserTestAbstract.php167 ["die", ['kind' => Expr\Exit_::KIND_DIE]],
168 ["die('done')", ['kind' => Expr\Exit_::KIND_DIE]],
169 ["exit", ['kind' => Expr\Exit_::KIND_EXIT]],
170 ["exit(1)", ['kind' => Expr\Exit_::KIND_EXIT]],
/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php1217 … $attrs['kind'] = strtolower($name) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE;
1218 return new Expr\Exit_(\count($args) === 1 ? $args[0]->value : null, $attrs);
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php723 protected function pExpr_Exit(Expr\Exit_ $node): string {
724 $kind = $node->getAttribute('kind', Expr\Exit_::KIND_DIE);
725 return ($kind === Expr\Exit_::KIND_EXIT ? 'exit' : 'die')
/PHP-Parser/
H A DCHANGELOG.md36 argument or a single plain argument continues to use a `Node\Expr\Exit_` node. Otherwise (e.g.

Completed in 31 milliseconds