Home
last modified time | relevance | path

Searched refs:Else_ (Results 1 – 12 of 12) sorted by relevance

/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNodeConnectingVisitorTest.php6 use PhpParser\Node\Stmt\Else_; alias
24 $node = (new NodeFinder())->findFirstInstanceof($ast, Else_::class);
31 $this->assertSame(Else_::class, get_class($node->getAttribute('next')));
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DIf_.php14 /** @var null|Else_ Else clause */
15 public ?Else_ $else;
H A DElse_.php7 class Else_ extends Node\Stmt { class
/PHP-Parser/test/PhpParser/
H A DNodeTraverserTest.php8 use PhpParser\Node\Stmt\Else_; alias
348 $else1 = new Else_();
349 $else2 = new Else_();
/PHP-Parser/test/code/formatPreservation/
H A DinsertionOfNullable.test97 $stmts[14]->else = new Stmt\Else_([]);
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown183 if ($node instanceof Node\Stmt\Else_) {
189 This is only safe to do if the subnode the node is stored in is nullable. `Node\Stmt\Else_` only
/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php24 use PhpParser\Node\Stmt\Else_; alias
1001 /** @param ElseIf_|Else_ $node */
H A DPrettyPrinterAbstract.php1534 Stmt\Else_::class . '->stmts' => "\n",
/PHP-Parser/grammar/
H A Dphp.y637 | T_ELSE blocklike_statement { $$ = Stmt\Else_[$2]; }
643 { $$ = Stmt\Else_[$3]; $this->fixupAlternativeElse($$); }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php892 protected function pStmt_Else(Stmt\Else_ $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp8.php1765 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tok…
1771 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tok…
H A DPhp7.php1747 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tok…
1753 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tok…

Completed in 53 milliseconds