public abstract class UnionTypeNode extends TypeNode
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(TypeNodeVisitor<T> visitor) |
abstract com.google.common.collect.ImmutableList<TypeNode> |
candidates() |
static UnionTypeNode |
create(Iterable<TypeNode> candidates) |
String |
toString()
Returns round-trippable (through the parser) source code for this node.
|
sourceLocationpublic static UnionTypeNode create(Iterable<TypeNode> candidates)
public abstract com.google.common.collect.ImmutableList<TypeNode> candidates()
public String toString()
TypeNodepublic <T> T accept(TypeNodeVisitor<T> visitor)