Searched refs:Else_ (Results 1 – 12 of 12) sorted by relevance
6 use PhpParser\Node\Stmt\Else_; alias24 $node = (new NodeFinder())->findFirstInstanceof($ast, Else_::class);31 $this->assertSame(Else_::class, get_class($node->getAttribute('next')));
14 /** @var null|Else_ Else clause */15 public ?Else_ $else;
7 class Else_ extends Node\Stmt { class
8 use PhpParser\Node\Stmt\Else_; alias348 $else1 = new Else_();349 $else2 = new Else_();
97 $stmts[14]->else = new Stmt\Else_([]);
183 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
26 use PhpParser\Node\Stmt\Else_; alias1001 /** @param ElseIf_|Else_ $node */
1566 Stmt\Else_::class . '->stmts' => "\n",
642 | T_ELSE blocklike_statement { $$ = Stmt\Else_[$2]; }648 { $$ = Stmt\Else_[$3]; $this->fixupAlternativeElse($$); }
907 protected function pStmt_Else(Stmt\Else_ $node): string {
1787 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tok…1793 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tok…
1782 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(2-2)], $self->getAttributes($self->tok…1788 …$self->semValue = new Stmt\Else_($self->semStack[$stackPos-(3-3)], $self->getAttributes($self->tok…
Completed in 66 milliseconds