/opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Node
NameSizeModeActions
Expr/-0755rm
Name/-0755rm
Scalar/-0755rm
Stmt/-0755rm
Arg.php12990644editdlrm
ArrayItem.php12120644editdlrm
Attribute.php8200644editdlrm
AttributeGroup.php6470644editdlrm
ClosureUse.php9730644editdlrm
ComplexType.php3230644editdlrm
Const_.php9710644editdlrm
DeclareItem.php9920644editdlrm
Expr.php1330644editdlrm
FunctionLike.php7310644editdlrm
Identifier.php21170644editdlrm
InterpolatedStringPart.php8500644editdlrm
IntersectionType.php6650644editdlrm
MatchArm.php6520644editdlrm
Name.php86710644editdlrm
NullableType.php6790644editdlrm
Param.php37870644editdlrm
PropertyHook.php34310644editdlrm
PropertyItem.php10720644editdlrm
Scalar.php980644editdlrm
StaticVar.php9990644editdlrm
Stmt.php1330644editdlrm
UnionType.php6770644editdlrm
UseItem.php16770644editdlrm
VariadicPlaceholder.php6530644editdlrm
VarLikeIdentifier.php5020644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Node/Identifier.php (2117B)
*/ private static array $specialClassNames = [ 'self' => true, 'parent' => true, 'static' => true, ]; /** * Constructs an identifier node. * * @param string $name Identifier as string * @param array $attributes Additional attributes */ public function __construct(string $name, array $attributes = []) { if ($name === '') { throw new \InvalidArgumentException('Identifier name cannot be empty'); } $this->attributes = $attributes; $this->name = $name; } public function getSubNodeNames(): array { return ['name']; } /** * Get identifier as string. * * @psalm-return non-empty-string * @return string Identifier as string. */ public function toString(): string { return $this->name; } /** * Get lowercased identifier as string. * * @psalm-return non-empty-string&lowercase-string * @return string Lowercased identifier as string */ public function toLowerString(): string { return strtolower($this->name); } /** * Checks whether the identifier is a special class name (self, parent or static). * * @return bool Whether identifier is a special class name */ public function isSpecialClassName(): bool { return isset(self::$specialClassNames[strtolower($this->name)]); } /** * Get identifier as string. * * @psalm-return non-empty-string * @return string Identifier as string */ public function __toString(): string { return $this->name; } public function getType(): string { return 'Identifier'; } }