Home
last modified time | relevance | path

Searched refs:Throw_ (Results 1 – 8 of 8) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DThrow_.php7 class Throw_ extends Node\Expr { class
/PHP-Parser/
H A DUPGRADE-5.0.md68 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 DCHANGELOG.md121 * 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 DPrettyPrinterAbstract.php104 Expr\Throw_::class => [240, -1, -1],
1393 Expr\ArrowFunction::class, Expr\Throw_::class,
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php729 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 Dphp.y1091 | T_THROW expr { $$ = Expr\Throw_[$2]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2414 …$self->semValue = new Expr\Throw_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->to…
H A DPhp8.php2416 …$self->semValue = new Expr\Throw_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->to…

Completed in 38 milliseconds