Searched refs:Closure (Results 1 – 12 of 12) sorted by relevance
/PHP-Parser/test/code/formatPreservation/ |
H A D | closure.test | 1 Closure add static
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | Closure.php | 10 class Closure extends Expr implements FunctionLike { class
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 1517 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 D | UPGRADE-4.0.md | 24 * `Expr\Closure::$returnType` (for simple types)
|
H A D | UPGRADE-5.0.md | 314 * The `'returnType'` key of `$subNodes` argument of `Node\Expr\Closure`.
|
H A D | CHANGELOG.md | 436 `Stmt\ClassMethod`, `Stmt\ClassConst`, `Stmt\Property`, `Expr\Closure`, `Expr\ArrowFunction` and
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 103 || $node instanceof Expr\Closure
|
/PHP-Parser/test/PhpParser/ |
H A D | PrettyPrinterTest.php | 67 $expr = new Expr\Closure([
|
/PHP-Parser/grammar/ |
H A D | php.y | 1098 …{ $$ = 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 D | Php7.php | 2423 …$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 D | Php8.php | 2425 …$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 D | Standard.php | 655 protected function pExpr_Closure(Expr\Closure $node): string {
|
Completed in 46 milliseconds