extends |
NodeAbstract |
---|---|
implements |
VirtualNode |
Methods | ||
---|---|---|
public
|
__construct(
string $name,
int $flags,
Identifier|Name|ComplexType|null $type,
?Expr $default,
?string $phpDoc,
?Type $phpDocType,
bool $isPromoted,
Node $originalNode,
bool $isReadonlyByPhpDoc,
bool $isDeclaredInTrait,
bool $isReadonlyClass,
bool $isAllowedPrivateMutation,
)
|
# |
public
|
getName(): string
|
# |
public
|
getFlags(): int
|
# |
public
|
getDefault(): ?Expr
|
# |
public
|
isPromoted(): 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
|
getNativeType(): Identifier|Name|ComplexType|null
|
# |
public
|
getType(): string
|
# |
public
|
getSubNodeNames(): string[]
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |