Searched refs:Coalesce (Results 1 – 9 of 9) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/ |
H A D | Coalesce.php | 7 class Coalesce extends AssignOp { class
|
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/ |
H A D | Coalesce.php | 7 class Coalesce extends BinaryOp { class
|
/PHP-Parser/lib/PhpParser/ |
H A D | ConstExprEvaluator.php | 178 if ($expr instanceof Expr\BinaryOp\Coalesce
|
H A D | PrettyPrinterAbstract.php | 79 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 D | Standard.php | 314 …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 D | php.y | 1023 … | 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 D | Php7.php | 2222 …$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 D | Php8.php | 2224 …$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 D | CHANGELOG.md | 613 * [PHP 7.4] Add support for `??=` operator through a new `AssignOp\Coalesce` node. (#575)
|
Completed in 48 milliseconds