Home
last modified time | relevance | path

Searched refs:Return_ (Results 1 – 13 of 13) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/
H A DPropertyHook.php5 use PhpParser\Node\Stmt\Return_; alias
62 return [new Return_($this->body)];
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DReturn_.php7 class Return_ extends Node\Stmt { class
/PHP-Parser/test/code/formatPreservation/
H A Dproperty_hooks.test91 $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))];
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DArrowFunction.php78 return [new Node\Stmt\Return_($this->expr)];
/PHP-Parser/test/PhpParser/Node/Stmt/
H A DClassMethodTest.php101 $return = new Return_(new Variable('a'));
/PHP-Parser/test/PhpParser/
H A DBuilderFactoryTest.php261 (new BuilderFactory())->funcCall(new Node\Stmt\Return_());
267 (new BuilderFactory())->var(new Node\Stmt\Return_());
H A DPrettyPrinterTest.php68 'stmts' => [new Stmt\Return_(new String_("a\nb"))]
H A DNodeTraverserTest.php454 ['enterNode', $num, new Node\Stmt\Return_()],
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown147 if ($node instanceof Node\Stmt\Return_) {
197 if ($node instanceof Node\Stmt\Return_ && $node->expr !== null) {
202 new Node\Stmt\Return_($var),
/PHP-Parser/grammar/
H A Dphp.y385 | T_RETURN optional_expr semi { $$ = Stmt\Return_[$2]; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php974 protected function pStmt_Return(Stmt\Return_ $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1495 …$self->semValue = new Stmt\Return_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->t…
H A DPhp8.php1490 …$self->semValue = new Stmt\Return_($self->semStack[$stackPos-(3-2)], $self->getAttributes($self->t…

Completed in 33 milliseconds