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: ArrowFunction.php
<?php declare (strict_types=1); namespace PhpParser\Node\Expr; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\FunctionLike; class ArrowFunction extends Expr implements FunctionLike { /** @var bool */ public $static; /** @var bool */ public $byRef; /** @var Node\Param[] */ public $params = []; /** @var null|Node\Identifier|Node\Name|Node\ComplexType */ public $returnType; /** @var Expr */ public $expr; /** @var Node\AttributeGroup[] */ public $attrGroups; /** * @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 * 'returnType' => null : Return type * 'expr' => Expr : Expression body * 'attrGroups' => array() : PHP attribute 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'] ?? []; $returnType = $subNodes['returnType'] ?? null; $this->returnType = \is_string($returnType) ? new Node\Identifier($returnType) : $returnType; $this->expr = $subNodes['expr']; $this->attrGroups = $subNodes['attrGroups'] ?? []; } public function getSubNodeNames() : array { return ['attrGroups', 'static', 'byRef', 'params', 'returnType', 'expr']; } public function returnsByRef() : bool { return $this->byRef; } public function getParams() : array { return $this->params; } public function getReturnType() { return $this->returnType; } public function getAttrGroups() : array { return $this->attrGroups; } /** * @return Node\Stmt\Return_[] */ public function getStmts() : array { return [new Node\Stmt\Return_($this->expr)]; } public function getType() : string { return 'Expr_ArrowFunction'; } }
Save