Home
last modified time | relevance | path

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

/PHP-Parser/test/code/prettyPrinter/stmt/
H A Dblock.test1 Block statements
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DBlock.php7 class Block extends Stmt { class
/PHP-Parser/test/code/formatPreservation/
H A DarrayInsertionWithComments.test39 $node->setAttribute('comments', [new Comment("/* Block comment */")]);
48 /* Block comment */
/PHP-Parser/
H A DCHANGELOG.md84 * Added `Stmt\Block` to represent `{}` code blocks. Previously, such code blocks were flattened
85 into the parent statements array. `Stmt\Block` will not be created for structures that are
87 while `if ($x) { { $x; } }` will have an extra `Stmt\Block` wrapper.
H A DUPGRADE-5.0.md169 Now, the nested `{ $b; }` block is represented using an explicit `Stmt\Block` node. However, the
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php1573 Stmt\Block::class . '->stmts' => "\n",
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp8.php1471 …$self->semValue = new Stmt\Block($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tok…
1550 …if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$s…
1696 …if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$s…
H A DPhp7.php1462 …$self->semValue = new Stmt\Block($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tok…
1541 …if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$s…
1687 …if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$s…
/PHP-Parser/grammar/
H A Dphp.y373 '{' inner_statement_list '}' { $$ = Stmt\Block[$2]; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php1026 protected function pStmt_Block(Stmt\Block $node): string {

Completed in 46 milliseconds