Uses of Interface
net.hydromatic.morel.type.Type.Key
-
Packages that use Type.Key Package Description net.hydromatic.morel.type Type system. -
-
Uses of Type.Key in net.hydromatic.morel.type
Classes in net.hydromatic.morel.type that implement Type.Key Modifier and Type Class Description private static classKeys.ApplyKeyKey of a type that applies a parameterized type to specific type arguments.private static classKeys.DataTypeKeyKey that identifies adatatypescheme.private static classKeys.ForallKeyKey of a forall type.private static classKeys.ForallTypeApplyKeyKey that applies several type arguments to adatatypescheme.private static classKeys.NameKeyKey that identifies a type by name.private static classKeys.OpKeyKey of a type that applies a built-in type constructor to specific type arguments.private static classKeys.OrdinalKeyKey that identifies a type by ordinal.private static classKeys.RecordKeyKey of a record type.Fields in net.hydromatic.morel.type declared as Type.Key Modifier and Type Field Description private Type.KeyDataType. keyFields in net.hydromatic.morel.type with type parameters of type Type.Key Modifier and Type Field Description (package private) Map<Type.Key,Type>TypeSystem. typeByKeyMethods in net.hydromatic.morel.type that return Type.Key Modifier and Type Method Description static Type.KeyKeys. apply(ParameterizedType type, Iterable<? extends Type> argTypes)Returns a key that identifies anApplyType.static Type.KeyKeys. apply(ParameterizedType type, Type... argTypes)Returns a key that identifies anApplyType, with an array of types.static Type.KeyKeys. datatype(String name)Returns a key that identifies aDataType.static Type.KeyKeys. fn(Type paramType, Type resultType)Returns a key that identifies aFnType.static Type.KeyKeys. forall(Type type, List<TypeVar> parameterTypes)Returns a key that identifies aForallType.static Type.KeyKeys. forallTypeApply(ForallType forallType, List<? extends Type> argTypes)Returns a key that identifies aForallTypewith monomorphic types substituted for its type parameters.Type.KeyApplyType. key()Type.KeyDataType. key()Type.KeyDummyType. key()Type.KeyFnType. key()Type.KeyForallType. key()Type.KeyListType. key()Type.KeyPrimitiveType. key()Type.KeyRecordType. key()Type.KeyTupleType. key()Type.KeyType. key()Description of the type, e.g.Type.KeyTypeVar. key()static Type.KeyKeys. list(Type elementType)Returns a key that identifies aListType.static Type.KeyKeys. name(String name)Returns a key that identifies types by name.static Type.KeyKeys. ordinal(int ordinal)Returns a key that identifies types (especiallytype variables) by ordinal.static Type.KeyKeys. record(SortedMap<String,Type> argNameTypes)Returns a key that identifies aRecordType(or aTupleTypeif the field names are ascending integers, orunitif the fields are empty).static Type.KeyKeys. tuple(List<? extends Type> argTypes)Returns a key that identifies aTupleType.Methods in net.hydromatic.morel.type with parameters of type Type.Key Modifier and Type Method Description (package private) DataTypeTypeSystem. dataType(String name, Type.Key key, List<? extends Type> types, SortedMap<String,Type> tyCons)private TypeTypeSystem. keyToType(Type.Key key)Creates a type from a key.TypeTypeSystem. typeFor(Type.Key key)Gets a type that matches a key, creating if necessary.Method parameters in net.hydromatic.morel.type with type arguments of type Type.Key Modifier and Type Method Description voidTypeSystem.DataTypeFixer. apply(Type type, Map<Type.Key,Type> typeMap)Constructors in net.hydromatic.morel.type with parameters of type Type.Key Constructor Description DataType(String name, Type.Key key, List<? extends Type> parameterTypes, SortedMap<String,Type> typeConstructors)Creates a DataType.DataType(Op op, String name, Type.Key key, List<? extends Type> parameterTypes, SortedMap<String,Type> typeConstructors)Called only from DataType and TemporaryType constructor.
-