Home
last modified time | relevance | path

Searched refs:ArrowFunction (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DArrowFunction.php9 class ArrowFunction extends Expr implements FunctionLike { class
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php103 Expr\ArrowFunction::class => [230, -1, -1],
1393 Expr\ArrowFunction::class, Expr\Throw_::class,
1516 Expr\ArrowFunction::class . '->params' => ', ',
1587 Expr\ArrowFunction::class . '->attrGroups' => ' ',
1613 Expr\ArrowFunction::class . '->params' => ['(', '', ''],
1635 Expr\ArrowFunction::class . '->attrGroups' => [null, '', ' '],
1683 Expr\ArrowFunction::class . '->static' => ['pStatic', \T_FN],
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php104 || $node instanceof Expr\ArrowFunction
/PHP-Parser/grammar/
H A Dphp.y1094 …{ $$ = Expr\ArrowFunction[['static' => false, 'byRef' => $2, 'params' => $4, 'returnType' => $6, '…
1096 …{ $$ = Expr\ArrowFunction[['static' => true, 'byRef' => $3, 'params' => $5, 'returnType' => $7, 'e…
1103 …{ $$ = Expr\ArrowFunction[['static' => false, 'byRef' => $3, 'params' => $5, 'returnType' => $7, '…
1105 …{ $$ = Expr\ArrowFunction[['static' => true, 'byRef' => $4, 'params' => $6, 'returnType' => $8, 'e…
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php685 …protected function pExpr_ArrowFunction(Expr\ArrowFunction $node, int $precedence, int $lhsPreceden…
687 Expr\ArrowFunction::class,
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2417 …$self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-…
2420 …$self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(…
2429 …$self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-…
2432 …$self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(…
H A DPhp8.php2419 …$self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-…
2422 …$self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(…
2431 …$self->semValue = new Expr\ArrowFunction(['static' => false, 'byRef' => $self->semStack[$stackPos-…
2434 …$self->semValue = new Expr\ArrowFunction(['static' => true, 'byRef' => $self->semStack[$stackPos-(…
/PHP-Parser/
H A DUPGRADE-5.0.md313 * The `'returnType'` key of `$subNodes` argument of `Node\Expr\ArrowFunction`.
H A DCHANGELOG.md436 `Stmt\ClassMethod`, `Stmt\ClassConst`, `Stmt\Property`, `Expr\Closure`, `Expr\ArrowFunction` and
594 * [PHP 7.4] Add support for arrow functions using a new `Expr\ArrowFunction` node. (#602)

Completed in 36 milliseconds