golden hour
/opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Node/Expr
⬆️ Go Up
Upload
File/Folder
Size
Actions
ArrayDimFetch.php
822 B
Del
OK
ArrayItem.php
305 B
Del
OK
Array_.php
831 B
Del
OK
ArrowFunction.php
2.49 KB
Del
OK
Assign.php
774 B
Del
OK
AssignOp
-
Del
OK
AssignOp.php
726 B
Del
OK
AssignRef.php
823 B
Del
OK
BinaryOp
-
Del
OK
BinaryOp.php
1.07 KB
Del
OK
BitwiseNot.php
652 B
Del
OK
BooleanNot.php
652 B
Del
OK
CallLike.php
1.76 KB
Del
OK
Cast
-
Del
OK
Cast.php
567 B
Del
OK
ClassConstFetch.php
986 B
Del
OK
Clone_.php
637 B
Del
OK
Closure.php
2.77 KB
Del
OK
ClosureUse.php
309 B
Del
OK
ConstFetch.php
683 B
Del
OK
Empty_.php
640 B
Del
OK
Error.php
757 B
Del
OK
ErrorSuppress.php
662 B
Del
OK
Eval_.php
637 B
Del
OK
Exit_.php
758 B
Del
OK
FuncCall.php
994 B
Del
OK
Include_.php
951 B
Del
OK
Instanceof_.php
860 B
Del
OK
Isset_.php
642 B
Del
OK
List_.php
879 B
Del
OK
Match_.php
782 B
Del
OK
MethodCall.php
1.25 KB
Del
OK
New_.php
1.08 KB
Del
OK
NullsafeMethodCall.php
1.27 KB
Del
OK
NullsafePropertyFetch.php
971 B
Del
OK
PostDec.php
639 B
Del
OK
PostInc.php
639 B
Del
OK
PreDec.php
636 B
Del
OK
PreInc.php
636 B
Del
OK
Print_.php
640 B
Del
OK
PropertyFetch.php
945 B
Del
OK
ShellExec.php
795 B
Del
OK
StaticCall.php
1.26 KB
Del
OK
StaticPropertyFetch.php
1014 B
Del
OK
Ternary.php
967 B
Del
OK
Throw_.php
668 B
Del
OK
UnaryMinus.php
652 B
Del
OK
UnaryPlus.php
649 B
Del
OK
Variable.php
637 B
Del
OK
YieldFrom.php
666 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 Whether the closure is static */ public bool $static; /** @var bool Whether to return by reference */ public bool $byRef; /** @var Node\Param[] */ public array $params = []; /** @var null|Node\Identifier|Node\Name|Node\ComplexType */ public ?Node $returnType; /** @var Expr Expression body */ public Expr $expr; /** @var Node\AttributeGroup[] */ public array $attrGroups; /** * @param array{ * expr: Expr, * static?: bool, * byRef?: bool, * params?: Node\Param[], * returnType?: null|Node\Identifier|Node\Name|Node\ComplexType, * attrGroups?: Node\AttributeGroup[] * } $subNodes Array of the following subnodes: * 'expr' : Expression body * 'static' => false : Whether the closure is static * 'byRef' => false : Whether to return by reference * 'params' => array() : Parameters * 'returnType' => null : Return type * 'attrGroups' => array() : PHP attribute groups * @param array<string, mixed> $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->returnType = $subNodes['returnType'] ?? null; $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