Searched refs:If_ (Results 1 – 11 of 11) sorted by relevance
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NodeConnectingVisitorTest.php | 7 use PhpParser\Node\Stmt\If_; alias 26 $this->assertSame(If_::class, get_class($node->getAttribute('parent')));
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | indent.test | 6 $stmts[0] = new Stmt\If_(new Expr\Variable('a'), ['stmts' => $stmts]); 17 $stmts[0] = new Stmt\If_(new Expr\Variable('a'), ['stmts' => $stmts]);
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | If_.php | 7 class If_ extends Node\Stmt { class
|
/PHP-Parser/test/PhpParser/ |
H A D | NodeTraverserTest.php | 9 use PhpParser\Node\Stmt\If_; alias 350 $if1 = new If_($one, ['else' => $else1]); 351 $if2 = new If_($one, ['else' => $else2]); 363 new If_($one), 364 new If_($one),
|
H A D | PrettyPrinterTest.php | 261 new Stmt\If_(new Int_(1), [
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 1511 Stmt\If_::class . '->elseifs' => ' ', 1571 Stmt\If_::class . '->stmts' => "\n",
|
/PHP-Parser/grammar/ |
H A D | php.y | 375 { $$ = Stmt\If_[$3, ['stmts' => $5, 'elseifs' => $6, 'else' => $7]]; } 377 { $$ = Stmt\If_[$3, ['stmts' => $6, 'elseifs' => $7, 'else' => $8]]; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 895 protected function pStmt_If(Stmt\If_ $node): string { 908 if (\count($node->stmts) === 1 && $node->stmts[0] instanceof Stmt\If_) {
|
/PHP-Parser/doc/component/ |
H A D | Walking_the_AST.markdown | 190 occurs inside `Node\Stmt\If_::$else`, which is nullable, so this particular replacement is safe.
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1471 …$self->semValue = new Stmt\If_($self->semStack[$stackPos-(7-3)], ['stmts' => $self->semStack[$stac… 1474 …$self->semValue = new Stmt\If_($self->semStack[$stackPos-(10-3)], ['stmts' => $self->semStack[$sta…
|
H A D | Php8.php | 1466 …$self->semValue = new Stmt\If_($self->semStack[$stackPos-(7-3)], ['stmts' => $self->semStack[$stac… 1469 …$self->semValue = new Stmt\If_($self->semStack[$stackPos-(10-3)], ['stmts' => $self->semStack[$sta…
|
Completed in 51 milliseconds