File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/nikic/php-parser/lib/PhpParser/Node
Upload
[..]
Arg.php (1.27 KB)
Edit
Rename
Del
ArrayItem.php (1.18 KB)
Edit
Rename
Del
Attribute.php (820 B)
Edit
Rename
Del
AttributeGroup.php (647 B)
Edit
Rename
Del
ClosureUse.php (973 B)
Edit
Rename
Del
ComplexType.php (323 B)
Edit
Rename
Del
Const_.php (971 B)
Edit
Rename
Del
DeclareItem.php (992 B)
Edit
Rename
Del
Expr/
Rename
Del
Expr.php (133 B)
Edit
Rename
Del
FunctionLike.php (731 B)
Edit
Rename
Del
Identifier.php (2.07 KB)
Edit
Rename
Del
IntersectionType.php (665 B)
Edit
Rename
Del
MatchArm.php (652 B)
Edit
Rename
Del
Name/
Rename
Del
Name.php (8.47 KB)
Edit
Rename
Del
NullableType.php (679 B)
Edit
Rename
Del
Param.php (3.7 KB)
Edit
Rename
Del
PropertyHook.php (3.35 KB)
Edit
Rename
Del
PropertyItem.php (1.05 KB)
Edit
Rename
Del
Scalar/
Rename
Del
Scalar.php (98 B)
Edit
Rename
Del
StaticVar.php (999 B)
Edit
Rename
Del
Stmt/
Rename
Del
Stmt.php (133 B)
Edit
Rename
Del
UnionType.php (677 B)
Edit
Rename
Del
UseItem.php (1.64 KB)
Edit
Rename
Del
VarLikeIdentifier.php (502 B)
Edit
Rename
Del
VariadicPlaceholder.php (653 B)
Edit
Rename
Del
Edit: ClosureUse.php
<?php declare(strict_types=1); namespace PhpParser\Node; use PhpParser\NodeAbstract; class ClosureUse extends NodeAbstract { /** @var Expr\Variable Variable to use */ public Expr\Variable $var; /** @var bool Whether to use by reference */ public bool $byRef; /** * Constructs a closure use node. * * @param Expr\Variable $var Variable to use * @param bool $byRef Whether to use by reference * @param array<string, mixed> $attributes Additional attributes */ public function __construct(Expr\Variable $var, bool $byRef = false, array $attributes = []) { $this->attributes = $attributes; $this->var = $var; $this->byRef = $byRef; } public function getSubNodeNames(): array { return ['var', 'byRef']; } public function getType(): string { return 'ClosureUse'; } } // @deprecated compatibility alias class_alias(ClosureUse::class, Expr\ClosureUse::class);
Simpan