Home
last modified time | relevance | path

Searched refs:MatchArm (Results 1 – 10 of 10) sorted by relevance

/PHP-Parser/test/code/parser/expr/
H A Dmatch.test18 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 DMatch_.php6 use PhpParser\Node\MatchArm; alias
11 /** @var MatchArm[] */
16 * @param MatchArm[] $arms
/PHP-Parser/lib/PhpParser/Node/
H A DMatchArm.php8 class MatchArm extends NodeAbstract { class
/PHP-Parser/test/code/formatPreservation/
H A Dmatch.test11 $stmts[0]->expr->expr->arms[] = new Node\MatchArm(null, new Scalar\String_('two'));
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php15 use PhpParser\Node\MatchArm; alias
1549 MatchArm::class . '->conds' => ', ',
/PHP-Parser/grammar/
H A Dphp.y612 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 DStandard.php672 protected function pMatchArm(Node\MatchArm $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1754 …$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 DPhp8.php1749 …$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 DCHANGELOG.md493 containing `MatchArm`s.

Completed in 43 milliseconds