Searched refs:Exit_ (Results 1 – 5 of 5) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | Exit_.php | 7 class Exit_ extends Expr { class
|
/PHP-Parser/test/PhpParser/ |
H A D | ParserTestAbstract.php | 167 ["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 D | ParserAbstract.php | 1217 … $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 D | Standard.php | 723 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 D | CHANGELOG.md | 36 argument or a single plain argument continues to use a `Node\Expr\Exit_` node. Otherwise (e.g.
|
Completed in 16 milliseconds