Home
last modified time | relevance | path

Searched refs:Coalesce (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/
H A DCoalesce.php7 class Coalesce extends AssignOp { class
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/
H A DCoalesce.php7 class Coalesce extends BinaryOp { class
/PHP-Parser/lib/PhpParser/
H A DConstExprEvaluator.php178 if ($expr instanceof Expr\BinaryOp\Coalesce
H A DPrettyPrinterAbstract.php79 BinaryOp\Coalesce::class => [140, 140, 141],
95 AssignOp\Coalesce::class => [160, -1, -1],
1374 BinaryOp\BooleanOr::class, BinaryOp\Coalesce::class, BinaryOp\LogicalAnd::class,
1392 …signOp\ShiftLeft::class, AssignOp\ShiftRight::class, AssignOp\Pow::class, AssignOp\Coalesce::class,
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php314 …protected function pExpr_AssignOp_Coalesce(AssignOp\Coalesce $node, int $precedence, int $lhsPrece…
315 …return $this->pPrefixOp(AssignOp\Coalesce::class, $this->p($node->var) . ' ??= ', $node->expr, $pr…
424 …protected function pExpr_BinaryOp_Coalesce(BinaryOp\Coalesce $node, int $precedence, int $lhsPrece…
425 …return $this->pInfixOp(BinaryOp\Coalesce::class, $node->left, ' ?? ', $node->right, $precedence, $…
/PHP-Parser/grammar/
H A Dphp.y1023 … | variable T_COALESCE_EQUAL expr { $$ = Expr\AssignOp\Coalesce [$1, $3]; }
1063 | expr T_COALESCE expr { $$ = Expr\BinaryOp\Coalesce[$1, $3]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2222 …$self->semValue = new Expr\AssignOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$st…
2342 …$self->semValue = new Expr\BinaryOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$st…
H A DPhp8.php2224 …$self->semValue = new Expr\AssignOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$st…
2344 …$self->semValue = new Expr\BinaryOp\Coalesce($self->semStack[$stackPos-(3-1)], $self->semStack[$st…
/PHP-Parser/
H A DCHANGELOG.md613 * [PHP 7.4] Add support for `??=` operator through a new `AssignOp\Coalesce` node. (#575)

Completed in 48 milliseconds