Package hydra.core
Class Type.Variable
- java.lang.Object
-
- hydra.core.Type
-
- hydra.core.Type.Variable
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Type
public static final class Type.Variable extends Type implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.core.Type
Type.Annotated, Type.Application, Type.Function, Type.Lambda, Type.List, Type.Literal, Type.Map, Type.Optional, Type.PartialVisitor<R>, Type.Product, Type.Record, Type.Set, Type.Sum, Type.Union, Type.Variable, Type.Visitor<R>, Type.Wrap
-
-
Field Summary
Fields Modifier and Type Field Description Name
value
-
Fields inherited from class hydra.core.Type
FIELD_NAME_ANNOTATED, FIELD_NAME_APPLICATION, FIELD_NAME_FUNCTION, FIELD_NAME_LAMBDA, FIELD_NAME_LIST, FIELD_NAME_LITERAL, FIELD_NAME_MAP, FIELD_NAME_OPTIONAL, FIELD_NAME_PRODUCT, FIELD_NAME_RECORD, FIELD_NAME_SET, FIELD_NAME_SUM, FIELD_NAME_UNION, FIELD_NAME_VARIABLE, FIELD_NAME_WRAP, TYPE_NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(Type.Visitor<R> visitor)
boolean
equals(java.lang.Object other)
int
hashCode()
-
-
-
Field Detail
-
value
public final Name value
-
-
Constructor Detail
-
Variable
public Variable(Name value)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
accept
public <R> R accept(Type.Visitor<R> visitor)
-
-