Searched refs:Block (Results 1 – 10 of 10) sorted by relevance
1 Block statements
7 class Block extends Stmt { class
39 $node->setAttribute('comments', [new Comment("/* Block comment */")]);48 /* Block comment */
107 * Added `Stmt\Block` to represent `{}` code blocks. Previously, such code blocks were flattened108 into the parent statements array. `Stmt\Block` will not be created for structures that are110 while `if ($x) { { $x; } }` will have an extra `Stmt\Block` wrapper.
169 Now, the nested `{ $b; }` block is represented using an explicit `Stmt\Block` node. However, the
1573 Stmt\Block::class . '->stmts' => "\n",
1468 …$self->semValue = new Stmt\Block($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tok…1547 …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…
1463 …$self->semValue = new Stmt\Block($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->tok…1542 …if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$s…1691 …if ($self->semStack[$stackPos-(1-1)] instanceof Stmt\Block) { $self->semValue = $self->semStack[$s…
373 '{' inner_statement_list '}' { $$ = Stmt\Block[$2]; }
1026 protected function pStmt_Block(Stmt\Block $node): string {
Completed in 146 milliseconds