public abstract class NamedTypeNode extends TypeNode
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(TypeNodeVisitor<T> visitor) |
static NamedTypeNode |
create(SourceLocation sourceLocation,
String name) |
abstract String |
name() |
String |
toString()
Returns round-trippable (through the parser) source code for this node.
|
sourceLocationpublic static NamedTypeNode create(SourceLocation sourceLocation, String name)
public abstract String name()
public String toString()
TypeNodepublic <T> T accept(TypeNodeVisitor<T> visitor)