Searched refs:Throw_ (Results 1 – 8 of 8) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | Throw_.php | 7 class Throw_ extends Node\Expr { class
|
/PHP-Parser/ |
H A D | UPGRADE-5.0.md | 68 Previously, `throw` statements like `throw $e;` were represented using the `Stmt\Throw_` class, 69 while uses inside other expressions (such as `$x ?? throw $e`) used the `Expr\Throw_` class. 71 Now, `throw $e;` is represented as a `Stmt\Expression` that contains an `Expr\Throw_`. The 72 `Stmt\Throw_` class has been removed.
|
H A D | CHANGELOG.md | 121 * Removed `Stmt\Throw_` node, use `Expr\Throw_` inside `Stmt\Expression` instead. 465 * [PHP 8.0] Added support for throw expression, represented using a new `Expr\Throw_` node. For 467 represented using `Stmt\Throw_`.
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 104 Expr\Throw_::class => [240, -1, -1], 1393 Expr\ArrowFunction::class, Expr\Throw_::class,
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 729 protected function pExpr_Throw(Expr\Throw_ $node, int $precedence, int $lhsPrecedence): string { 730 … return $this->pPrefixOp(Expr\Throw_::class, 'throw ', $node->expr, $precedence, $lhsPrecedence);
|
/PHP-Parser/grammar/ |
H A D | php.y | 1091 | T_THROW expr { $$ = Expr\Throw_[$2]; }
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2414 …$self->semValue = new Expr\Throw_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->to…
|
H A D | Php8.php | 2416 …$self->semValue = new Expr\Throw_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->to…
|
Completed in 42 milliseconds