extends |
NodeAbstract |
---|---|
implements |
VirtualNode |
Methods | ||
---|---|---|
public
|
__construct(
string $name,
int $flags,
Identifier|Name|ComplexType|null $type,
?Expr $default,
?string $phpDoc,
bool $isPromoted,
Node $originalNode,
bool $isReadonlyByPhpDoc,
bool $isDeclaredInTrait,
bool $isReadonlyClass,
)
|
# |
public
|
getName(): string
|
# |
public
|
getFlags(): int
|
# |
public
|
getDefault(): ?Expr
|
# |
public
|
isPromoted(): bool
|
# |
public
|
getPhpDoc(): ?string
|
# |
public
|
isPublic(): bool
|
# |
public
|
isProtected(): bool
|
# |
public
|
isPrivate(): bool
|
# |
public
|
isStatic(): bool
|
# |
public
|
isReadOnly(): bool
|
# |
public
|
isReadOnlyByPhpDoc(): bool
|
# |
public
|
isDeclaredInTrait(): bool
|
# |
public
|
getNativeType(): Identifier|Name|ComplexType|null
|
# |
public
|
getType(): string
|
# |
public
|
getSubNodeNames(): string[]
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |