Package net.hydromatic.morel.compile
Class TypeResolver.PlusSubst
- java.lang.Object
-
- net.hydromatic.morel.compile.TypeResolver.Subst
-
- net.hydromatic.morel.compile.TypeResolver.PlusSubst
-
- Enclosing class:
- TypeResolver
private static class TypeResolver.PlusSubst extends TypeResolver.Subst
Substitution that adds one (type, variable) assignment to a parent substitution.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) TypeResolver.Substparent(package private) TypeVartypeVar(package private) Unifier.Variablevariable-
Fields inherited from class net.hydromatic.morel.compile.TypeResolver.Subst
EMPTY
-
-
Constructor Summary
Constructors Constructor Description PlusSubst(TypeResolver.Subst parent, TypeVar typeVar, Unifier.Variable variable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Unifier.Variableget(TypeVar typeVar)StringtoString()-
Methods inherited from class net.hydromatic.morel.compile.TypeResolver.Subst
plus
-
-
-
-
Field Detail
-
parent
final TypeResolver.Subst parent
-
typeVar
final TypeVar typeVar
-
variable
final Unifier.Variable variable
-
-
Constructor Detail
-
PlusSubst
PlusSubst(TypeResolver.Subst parent, TypeVar typeVar, Unifier.Variable variable)
-
-
Method Detail
-
get
Unifier.Variable get(TypeVar typeVar)
- Specified by:
getin classTypeResolver.Subst
-
-