Home
last modified time | relevance | path

Searched refs:Closure (Results 1 – 12 of 12) sorted by relevance

/PHP-Parser/test/code/formatPreservation/
H A Dclosure.test1 Closure add static
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DClosure.php10 class Closure extends Expr implements FunctionLike { class
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php1517 Expr\Closure::class . '->params' => ', ',
1518 Expr\Closure::class . '->uses' => ', ',
1554 Expr\Closure::class . '->stmts' => "\n",
1586 Expr\Closure::class . '->attrGroups' => ' ',
1614 Expr\Closure::class . '->uses' => [')', ' use (', ')'],
1615 Expr\Closure::class . '->params' => ['(', '', ''],
1636 Expr\Closure::class . '->attrGroups' => [null, '', ' '],
1682 Expr\Closure::class . '->static' => ['pStatic', \T_FUNCTION],
/PHP-Parser/
H A DUPGRADE-4.0.md24 * `Expr\Closure::$returnType` (for simple types)
H A DUPGRADE-5.0.md314 * The `'returnType'` key of `$subNodes` argument of `Node\Expr\Closure`.
H A DCHANGELOG.md436 `Stmt\ClassMethod`, `Stmt\ClassConst`, `Stmt\Property`, `Expr\Closure`, `Expr\ArrowFunction` and
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php103 || $node instanceof Expr\Closure
/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php67 $expr = new Expr\Closure([
/PHP-Parser/grammar/
H A Dphp.y1098 …{ $$ = Expr\Closure[['static' => false, 'byRef' => $2, 'params' => $4, 'uses' => $6, 'returnType' …
1100 …{ $$ = Expr\Closure[['static' => true, 'byRef' => $3, 'params' => $5, 'uses' => $7, 'returnType' =…
1107 …{ $$ = Expr\Closure[['static' => false, 'byRef' => $3, 'params' => $5, 'uses' => $7, 'returnType' …
1109 …{ $$ = Expr\Closure[['static' => true, 'byRef' => $4, 'params' => $6, 'uses' => $8, 'returnType' =…
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2423 …$self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(8-2)]…
2426 …$self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(9-3)],…
2435 …$self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(9-3)]…
2438 …$self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(10-4)]…
H A DPhp8.php2425 …$self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(8-2)]…
2428 …$self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(9-3)],…
2437 …$self->semValue = new Expr\Closure(['static' => false, 'byRef' => $self->semStack[$stackPos-(9-3)]…
2440 …$self->semValue = new Expr\Closure(['static' => true, 'byRef' => $self->semStack[$stackPos-(10-4)]…
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php655 protected function pExpr_Closure(Expr\Closure $node): string {

Completed in 46 milliseconds