X7ROOT File Manager
Current Path:
/opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt
opt
/
cpanel
/
ea-wappspector
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Node
/
Stmt
/
??
..
??
Block.php
(646 B)
??
Break_.php
(698 B)
??
Case_.php
(869 B)
??
Catch_.php
(1.09 KB)
??
ClassConst.php
(2.08 KB)
??
ClassLike.php
(2.97 KB)
??
ClassMethod.php
(4.61 KB)
??
Class_.php
(3.14 KB)
??
Const_.php
(967 B)
??
Continue_.php
(713 B)
??
DeclareDeclare.php
(333 B)
??
Declare_.php
(912 B)
??
Do_.php
(819 B)
??
Echo_.php
(659 B)
??
ElseIf_.php
(826 B)
??
Else_.php
(662 B)
??
EnumCase.php
(1.14 KB)
??
Enum_.php
(1.54 KB)
??
Expression.php
(726 B)
??
Finally_.php
(670 B)
??
For_.php
(1.4 KB)
??
Foreach_.php
(1.67 KB)
??
Function_.php
(2.61 KB)
??
Global_.php
(678 B)
??
Goto_.php
(757 B)
??
GroupUse.php
(1.04 KB)
??
HaltCompiler.php
(768 B)
??
If_.php
(1.36 KB)
??
InlineHTML.php
(659 B)
??
Interface_.php
(1.29 KB)
??
Label.php
(719 B)
??
Namespace_.php
(957 B)
??
Nop.php
(295 B)
??
Property.php
(3.35 KB)
??
PropertyProperty.php
(339 B)
??
Return_.php
(679 B)
??
StaticVar.php
(305 B)
??
Static_.php
(721 B)
??
Switch_.php
(808 B)
??
TraitUse.php
(889 B)
??
TraitUseAdaptation
??
TraitUseAdaptation.php
(293 B)
??
Trait_.php
(1.05 KB)
??
TryCatch.php
(1.02 KB)
??
Unset_.php
(670 B)
??
UseUse.php
(309 B)
??
Use_.php
(1.41 KB)
??
While_.php
(822 B)
Editing: Class_.php
<?php declare(strict_types=1); namespace PhpParser\Node\Stmt; use PhpParser\Modifiers; use PhpParser\Node; class Class_ extends ClassLike { /** @deprecated Use Modifiers::PUBLIC instead */ public const MODIFIER_PUBLIC = 1; /** @deprecated Use Modifiers::PROTECTED instead */ public const MODIFIER_PROTECTED = 2; /** @deprecated Use Modifiers::PRIVATE instead */ public const MODIFIER_PRIVATE = 4; /** @deprecated Use Modifiers::STATIC instead */ public const MODIFIER_STATIC = 8; /** @deprecated Use Modifiers::ABSTRACT instead */ public const MODIFIER_ABSTRACT = 16; /** @deprecated Use Modifiers::FINAL instead */ public const MODIFIER_FINAL = 32; /** @deprecated Use Modifiers::READONLY instead */ public const MODIFIER_READONLY = 64; /** @deprecated Use Modifiers::VISIBILITY_MASK instead */ public const VISIBILITY_MODIFIER_MASK = 7; // 1 | 2 | 4 /** @var int Modifiers */ public int $flags; /** @var null|Node\Name Name of extended class */ public ?Node\Name $extends; /** @var Node\Name[] Names of implemented interfaces */ public array $implements; /** * Constructs a class node. * * @param string|Node\Identifier|null $name Name * @param array{ * flags?: int, * extends?: Node\Name|null, * implements?: Node\Name[], * stmts?: Node\Stmt[], * attrGroups?: Node\AttributeGroup[], * } $subNodes Array of the following optional subnodes: * 'flags' => 0 : Flags * 'extends' => null : Name of extended class * 'implements' => array(): Names of implemented interfaces * 'stmts' => array(): Statements * 'attrGroups' => array(): PHP attribute groups * @param array<string, mixed> $attributes Additional attributes */ public function __construct($name, array $subNodes = [], array $attributes = []) { $this->attributes = $attributes; $this->flags = $subNodes['flags'] ?? $subNodes['type'] ?? 0; $this->name = \is_string($name) ? new Node\Identifier($name) : $name; $this->extends = $subNodes['extends'] ?? null; $this->implements = $subNodes['implements'] ?? []; $this->stmts = $subNodes['stmts'] ?? []; $this->attrGroups = $subNodes['attrGroups'] ?? []; } public function getSubNodeNames(): array { return ['attrGroups', 'flags', 'name', 'extends', 'implements', 'stmts']; } /** * Whether the class is explicitly abstract. */ public function isAbstract(): bool { return (bool) ($this->flags & Modifiers::ABSTRACT); } /** * Whether the class is final. */ public function isFinal(): bool { return (bool) ($this->flags & Modifiers::FINAL); } public function isReadonly(): bool { return (bool) ($this->flags & Modifiers::READONLY); } /** * Whether the class is anonymous. */ public function isAnonymous(): bool { return null === $this->name; } public function getType(): string { return 'Stmt_Class'; } }
Upload File
Create Folder