public abstract class RecordTypeNode extends TypeNode
| Modifier and Type | Class and Description |
|---|---|
static class |
RecordTypeNode.Property
A single property declaration in a record type.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(TypeNodeVisitor<T> visitor) |
static RecordTypeNode |
create(SourceLocation sourceLocation,
Iterable<RecordTypeNode.Property> properties) |
abstract com.google.common.collect.ImmutableList<RecordTypeNode.Property> |
properties() |
String |
toString()
Returns round-trippable (through the parser) source code for this node.
|
sourceLocationpublic static RecordTypeNode create(SourceLocation sourceLocation, Iterable<RecordTypeNode.Property> properties)
public abstract com.google.common.collect.ImmutableList<RecordTypeNode.Property> properties()
public String toString()
TypeNodepublic <T> T accept(TypeNodeVisitor<T> visitor)