final | |
---|---|
extends |
NodeAbstract |
implements |
VirtualNode |
Methods | ||
---|---|---|
public
|
__construct(
string $name,
int $flags,
?Type $type,
?Expr $default,
?string $phpDoc,
?Type $phpDocType,
bool $isPromoted,
bool $isPromotedFromTrait,
Property|Param $originalNode,
bool $isReadonlyByPhpDoc,
bool $isDeclaredInTrait,
bool $isReadonlyClass,
bool $isAllowedPrivateMutation,
ClassReflection $classReflection,
)
|
# |
public
|
getName(): string
|
# |
public
|
getFlags(): int
|
# |
public
|
getDefault(): ?Expr
|
# |
public
|
isPromoted(): bool
|
# |
public
|
isPromotedFromTrait(): bool
|
# |
public
|
getPhpDoc(): ?string
|
# |
public
|
getPhpDocType(): ?Type
|
# |
public
|
isPublic(): bool
|
# |
public
|
isProtected(): bool
|
# |
public
|
isPrivate(): bool
|
# |
public
|
isStatic(): bool
|
# |
public
|
isReadOnly(): bool
|
# |
public
|
isReadOnlyByPhpDoc(): bool
|
# |
public
|
isDeclaredInTrait(): bool
|
# |
public
|
isAllowedPrivateMutation(): bool
|
# |
public
|
isAbstract(): bool
|
# |
public
|
getNativeType(): ?Type
|
# |
public
|
getNativeTypeNode(): Identifier|Name|ComplexType|null
|
# |
public
|
getClassReflection(): ClassReflection
|
# |
public
|
getType(): string
|
# |
public
|
getSubNodeNames(): string[]
|
# |
public
|
hasHooks(): bool
|
# |
public
|
getHooks(): PropertyHook[]
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |