File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt
Upload
[..]
Block.php (646 B)
Edit
Rename
Del
Break_.php (698 B)
Edit
Rename
Del
Case_.php (869 B)
Edit
Rename
Del
Catch_.php (1.09 KB)
Edit
Rename
Del
Class_.php (3.14 KB)
Edit
Rename
Del
Const_.php (967 B)
Edit
Rename
Del
Continue_.php (713 B)
Edit
Rename
Del
DeclareDeclare.php (333 B)
Edit
Rename
Del
Declare_.php (912 B)
Edit
Rename
Del
Do_.php (819 B)
Edit
Rename
Del
Echo_.php (659 B)
Edit
Rename
Del
ElseIf_.php (826 B)
Edit
Rename
Del
Else_.php (662 B)
Edit
Rename
Del
EnumCase.php (1.14 KB)
Edit
Rename
Del
Enum_.php (1.54 KB)
Edit
Rename
Del
Expression.php (726 B)
Edit
Rename
Del
Finally_.php (670 B)
Edit
Rename
Del
For_.php (1.4 KB)
Edit
Rename
Del
Foreach_.php (1.67 KB)
Edit
Rename
Del
Global_.php (678 B)
Edit
Rename
Del
Goto_.php (757 B)
Edit
Rename
Del
GroupUse.php (1.04 KB)
Edit
Rename
Del
HaltCompiler.php (768 B)
Edit
Rename
Del
If_.php (1.36 KB)
Edit
Rename
Del
InlineHTML.php (659 B)
Edit
Rename
Del
Interface_.php (1.29 KB)
Edit
Rename
Del
Label.php (719 B)
Edit
Rename
Del
Namespace_.php (957 B)
Edit
Rename
Del
Nop.php (295 B)
Edit
Rename
Del
Property.php (3.35 KB)
Edit
Rename
Del
PropertyProperty.php (339 B)
Edit
Rename
Del
Return_.php (679 B)
Edit
Rename
Del
Static_.php (721 B)
Edit
Rename
Del
Switch_.php (808 B)
Edit
Rename
Del
TraitUse.php (889 B)
Edit
Rename
Del
TraitUseAdaptation/
Rename
Del
Trait_.php (1.05 KB)
Edit
Rename
Del
TryCatch.php (1.02 KB)
Edit
Rename
Del
Unset_.php (670 B)
Edit
Rename
Del
Use_.php (1.41 KB)
Edit
Rename
Del
While_.php (822 B)
Edit
Rename
Del
Edit: Use_.php
<?php declare(strict_types=1); namespace PhpParser\Node\Stmt; use PhpParser\Node\Stmt; use PhpParser\Node\UseItem; class Use_ extends Stmt { /** * Unknown type. Both Stmt\Use_ / Stmt\GroupUse and Stmt\UseUse have a $type property, one of them will always be * TYPE_UNKNOWN while the other has one of the three other possible types. For normal use statements the type on the * Stmt\UseUse is unknown. It's only the other way around for mixed group use declarations. */ public const TYPE_UNKNOWN = 0; /** Class or namespace import */ public const TYPE_NORMAL = 1; /** Function import */ public const TYPE_FUNCTION = 2; /** Constant import */ public const TYPE_CONSTANT = 3; /** @var self::TYPE_* Type of alias */ public int $type; /** @var UseItem[] Aliases */ public array $uses; /** * Constructs an alias (use) list node. * * @param UseItem[] $uses Aliases * @param Stmt\Use_::TYPE_* $type Type of alias * @param array<string, mixed> $attributes Additional attributes */ public function __construct(array $uses, int $type = self::TYPE_NORMAL, array $attributes = []) { $this->attributes = $attributes; $this->type = $type; $this->uses = $uses; } public function getSubNodeNames(): array { return ['type', 'uses']; } public function getType(): string { return 'Stmt_Use'; } }
Simpan