Searched refs:MatchArm (Results 1 – 10 of 10) sorted by relevance
/PHP-Parser/test/code/parser/expr/ |
H A D | match.test | 18 0: MatchArm( 28 1: MatchArm( 62 0: MatchArm( 101 0: MatchArm( 145 0: MatchArm( 155 1: MatchArm( 185 0: MatchArm( 198 1: MatchArm(
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | Match_.php | 6 use PhpParser\Node\MatchArm; alias 11 /** @var MatchArm[] */ 16 * @param MatchArm[] $arms
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | MatchArm.php | 8 class MatchArm extends NodeAbstract { class
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | match.test | 11 $stmts[0]->expr->expr->arms[] = new Node\MatchArm(null, new Scalar\String_('two'));
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 15 use PhpParser\Node\MatchArm; alias 1549 MatchArm::class . '->conds' => ', ',
|
/PHP-Parser/grammar/ |
H A D | php.y | 612 expr_list_allow_comma T_DOUBLE_ARROW expr { $$ = Node\MatchArm[$1, $3]; } 613 | T_DEFAULT optional_comma T_DOUBLE_ARROW expr { $$ = Node\MatchArm[null, $4]; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 672 protected function pMatchArm(Node\MatchArm $node): string {
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1754 …$self->semValue = new Node\MatchArm($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3… 1757 …$self->semValue = new Node\MatchArm(null, $self->semStack[$stackPos-(4-4)], $self->getAttributes($…
|
H A D | Php8.php | 1749 …$self->semValue = new Node\MatchArm($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3… 1752 …$self->semValue = new Node\MatchArm(null, $self->semStack[$stackPos-(4-4)], $self->getAttributes($…
|
/PHP-Parser/ |
H A D | CHANGELOG.md | 493 containing `MatchArm`s.
|
Completed in 43 milliseconds