| java.lang.Object mlsub.typing.Monotype mlsub.typing.MonotypeVar
MonotypeVar | public MonotypeVar()(Code) | | |
MonotypeVar | public MonotypeVar(boolean existential)(Code) | | |
allowUnknownTypeParameters | public void allowUnknownTypeParameters()(Code) | | Allow this type's type parameters to be changed to the unknown type.
|
head | public TypeConstructor head()(Code) | | Return the head type constructor if this monotype is
of a known variance, or null.
|
isExistential | public boolean isExistential()(Code) | | |
isUnknown | public boolean isUnknown()(Code) | | |
resetKind | public void resetKind(Kind value)(Code) | | Allows modifying the existing kind. Use in special cases only.
|
setExistential | public void setExistential()(Code) | | |
setId | public void setId(int value)(Code) | | |
setPersistentKind | public void setPersistentKind(Kind k)(Code) | | |
substitute | Monotype substitute(java.util.Map map)(Code) | | Perform type symbol substitution inside the monotype.
Does not need to create a new object, but must not
imperatively modify the monotype.
Parameters: map - a map from TypeSymbols to TypeSymbols a monotype with substitution performed |
tag | void tag(int variance)(Code) | | Simplification
|
|
|