Searched refs:Return_ (Results 1 – 13 of 13) sorted by relevance
5 use PhpParser\Node\Stmt\Return_; alias62 return [new Return_($this->body)];
7 class Return_ extends Node\Stmt { class
91 $stmts[0]->stmts[0]->hooks[0]->body = [new Stmt\Return_(new Scalar\Int_(24))];115 $stmts[0]->stmts[1]->hooks[0]->body = [new Stmt\Return_(new Scalar\Int_(24))];
78 return [new Node\Stmt\Return_($this->expr)];
101 $return = new Return_(new Variable('a'));
261 (new BuilderFactory())->funcCall(new Node\Stmt\Return_());267 (new BuilderFactory())->var(new Node\Stmt\Return_());
68 'stmts' => [new Stmt\Return_(new String_("a\nb"))]
454 ['enterNode', $num, new Node\Stmt\Return_()],
147 if ($node instanceof Node\Stmt\Return_) {197 if ($node instanceof Node\Stmt\Return_ && $node->expr !== null) {202 new Node\Stmt\Return_($var),
385 | T_RETURN optional_expr semi { $$ = Stmt\Return_[$2]; }
974 protected function pStmt_Return(Stmt\Return_ $node): string {
1495 …$self->semValue = new Stmt\Return_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->t…
1490 …$self->semValue = new Stmt\Return_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->t…
Completed in 49 milliseconds