extends |
TypeNode |
|---|
A class-like name, as opposed to a keyword like int, mixed or
non-falsy-string, which is an IdentifierTypeNode.
The parser never produces name nodes, because it does not know which identifiers are keywords. They are created by tools that do, for example when turning a resolved type back into a PHPDoc node.
| Methods | ||
|---|---|---|
public
|
toString(): string
|
# |
public
|
toCodeString(): string
|
# |
public
|
getParts(): non-empty-list<string>
|
# |
public
|
getFirst(): string
|
# |
public
|
getLast(): string
|
# |
public
|
isFullyQualified(): bool
|
# |
| Methods inherited from PHPStan\PhpDocParser\Ast\Node |
|---|
__toString(), setAttribute(), hasAttribute(), getAttribute() |