golden hour
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/nikic/php-parser/lib/PhpParser/Node/Expr
⬆️ Go Up
Upload
File/Folder
Size
Actions
ArrayDimFetch.php
830 B
Del
OK
ArrayItem.php
1.1 KB
Del
OK
Array_.php
808 B
Del
OK
ArrowFunction.php
2.35 KB
Del
OK
Assign.php
775 B
Del
OK
AssignOp
-
Del
OK
AssignOp.php
723 B
Del
OK
AssignRef.php
824 B
Del
OK
BinaryOp
-
Del
OK
BinaryOp.php
1.09 KB
Del
OK
BitwiseNot.php
650 B
Del
OK
BooleanNot.php
663 B
Del
OK
CallLike.php
1.01 KB
Del
OK
Cast
-
Del
OK
Cast.php
561 B
Del
OK
ClassConstFetch.php
1000 B
Del
OK
Clone_.php
635 B
Del
OK
Closure.php
2.7 KB
Del
OK
ClosureUse.php
887 B
Del
OK
ConstFetch.php
681 B
Del
OK
Empty_.php
638 B
Del
OK
Error.php
754 B
Del
OK
ErrorSuppress.php
660 B
Del
OK
Eval_.php
635 B
Del
OK
Exit_.php
758 B
Del
OK
FuncCall.php
1.05 KB
Del
OK
Include_.php
914 B
Del
OK
Instanceof_.php
841 B
Del
OK
Isset_.php
639 B
Del
OK
List_.php
726 B
Del
OK
Match_.php
658 B
Del
OK
MethodCall.php
1.31 KB
Del
OK
New_.php
1.12 KB
Del
OK
NullsafeMethodCall.php
1.33 KB
Del
OK
NullsafePropertyFetch.php
985 B
Del
OK
PostDec.php
638 B
Del
OK
PostInc.php
638 B
Del
OK
PreDec.php
635 B
Del
OK
PreInc.php
635 B
Del
OK
Print_.php
638 B
Del
OK
PropertyFetch.php
959 B
Del
OK
ShellExec.php
687 B
Del
OK
StaticCall.php
1.32 KB
Del
OK
StaticPropertyFetch.php
1.01 KB
Del
OK
Ternary.php
990 B
Del
OK
Throw_.php
664 B
Del
OK
UnaryMinus.php
650 B
Del
OK
UnaryPlus.php
660 B
Del
OK
Variable.php
645 B
Del
OK
YieldFrom.php
664 B
Del
OK
Yield_.php
846 B
Del
OK
Edit: Closure.php
<?php declare (strict_types=1); namespace PhpParser\Node\Expr; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\FunctionLike; use Rector\Contract\PhpParser\Node\StmtsAwareInterface; class Closure extends Expr implements FunctionLike, StmtsAwareInterface { /** @var bool Whether the closure is static */ public $static; /** @var bool Whether to return by reference */ public $byRef; /** @var Node\Param[] Parameters */ public $params; /** @var ClosureUse[] use()s */ public $uses; /** @var null|Node\Identifier|Node\Name|Node\ComplexType Return type */ public $returnType; /** @var Node\Stmt[] Statements */ public $stmts; /** @var Node\AttributeGroup[] PHP attribute groups */ public $attrGroups; /** * Constructs a lambda function node. * * @param array $subNodes Array of the following optional subnodes: * 'static' => false : Whether the closure is static * 'byRef' => false : Whether to return by reference * 'params' => array(): Parameters * 'uses' => array(): use()s * 'returnType' => null : Return type * 'stmts' => array(): Statements * 'attrGroups' => array(): PHP attributes groups * @param array $attributes Additional attributes */ public function __construct(array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; $this->static = $subNodes['static'] ?? \false; $this->byRef = $subNodes['byRef'] ?? \false; $this->params = $subNodes['params'] ?? []; $this->uses = $subNodes['uses'] ?? []; $returnType = $subNodes['returnType'] ?? null; $this->returnType = \is_string($returnType) ? new Node\Identifier($returnType) : $returnType; $this->stmts = $subNodes['stmts'] ?? []; $this->attrGroups = $subNodes['attrGroups'] ?? []; } public function getSubNodeNames() : array { return ['attrGroups', 'static', 'byRef', 'params', 'uses', 'returnType', 'stmts']; } public function returnsByRef() : bool { return $this->byRef; } public function getParams() : array { return $this->params; } public function getReturnType() { return $this->returnType; } /** @return Node\Stmt[] */ public function getStmts() : array { return $this->stmts; } public function getAttrGroups() : array { return $this->attrGroups; } public function getType() : string { return 'Expr_Closure'; } }
Save