Uses of Class
net.hydromatic.morel.ast.Ast.Type
Packages that use Ast.Type
Package
Description
Abstract syntax tree.
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.-
Uses of Ast.Type in net.hydromatic.morel.ast
Subclasses of Ast.Type in net.hydromatic.morel.astModifier and TypeClassDescriptionstatic classNot really a type, just a way for the parser to represent the type arguments to a type constructor.static classFunction type.static classParse tree for a named type (e.g.static classParse tree node of a record type.static classTuple type.static classParse tree node of a type variable.Fields in net.hydromatic.morel.ast declared as Ast.TypeModifier and TypeFieldDescriptionfinal Ast.TypeAst.FunctionType.paramTypefinal Ast.TypeAst.FunctionType.resultTypefinal @Nullable Ast.TypeAst.FunMatch.returnTypefinal Ast.TypeAst.AnnotatedExp.typefinal Ast.TypeAst.AnnotatedPat.typefinal @Nullable Ast.TypeAst.TyCon.typeFields in net.hydromatic.morel.ast with type parameters of type Ast.TypeModifier and TypeFieldDescriptionAst.RecordType.fieldTypesAst.CompositeType.typesAst.NamedType.typesAst.TupleType.typesMethods in net.hydromatic.morel.ast that return Ast.TypeModifier and TypeMethodDescriptionabstract Ast.TypeAstBuilder.compositeType(Pos pos, Iterable<Ast.Type> types) AstBuilder.foldFunctionType(List<Ast.Type> types) protected Ast.TypeShuttle.visit(Ast.CompositeType compositeType) protected Ast.TypeShuttle.visit(Ast.FunctionType functionType) protected Ast.TypeShuttle.visit(Ast.NamedType namedType) protected Ast.TypeShuttle.visit(Ast.TupleType tupleType) Methods in net.hydromatic.morel.ast with parameters of type Ast.TypeModifier and TypeMethodDescriptionAstBuilder.annotatedExp(Pos pos, Ast.Exp expression, Ast.Type type) AstBuilder.annotatedPat(Pos pos, Ast.Pat pat, Ast.Type type) Creates a copy of thisAnnotatedPatwith given contents, orthisif the contents are the same.AstBuilder.functionType(Pos pos, Ast.Type fromType, Ast.Type toType) AstBuilder.funMatch(Pos pos, String name, Iterable<? extends Ast.Pat> patList, Ast.Type returnType, Ast.Exp exp) AstBuilder.typeConstructor(Pos pos, Ast.Id id, Ast.Type type) Method parameters in net.hydromatic.morel.ast with type arguments of type Ast.TypeModifier and TypeMethodDescriptionAstBuilder.compositeType(Pos pos, Iterable<Ast.Type> types) AstBuilder.foldFunctionType(List<Ast.Type> types) AstBuilder.recordType(Pos pos, Map<String, Ast.Type> fieldTypes) Constructors in net.hydromatic.morel.ast with parameters of type Ast.TypeModifierConstructorDescription(package private)AnnotatedExp(Pos pos, Ast.Exp exp, Ast.Type type) Creates a type annotation.(package private)AnnotatedPat(Pos pos, Ast.Pat pat, Ast.Type type) (package private)FunctionType(Pos pos, Ast.Type paramType, Ast.Type resultType) (package private)FunMatch(Pos pos, String name, com.google.common.collect.ImmutableList<Ast.Pat> patList, @Nullable Ast.Type returnType, Ast.Exp exp) (package private)Constructor parameters in net.hydromatic.morel.ast with type arguments of type Ast.TypeModifierConstructorDescription(package private)CompositeType(Pos pos, com.google.common.collect.ImmutableList<Ast.Type> types) (package private)Creates a type.(package private)RecordType(Pos pos, com.google.common.collect.ImmutableMap<String, Ast.Type> fieldTypes) Creates a record type.(package private) -
Uses of Ast.Type in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile with parameters of type Ast.TypeModifier and TypeMethodDescriptionstatic TypeTypeResolver.toType(Ast.Type type, TypeSystem typeSystem) Converts a type AST to a type.(package private) Type.KeyConverts an AST type into a type key.static Type.KeyConverts a type AST to a type key.Method parameters in net.hydromatic.morel.compile with type arguments of type Ast.TypeModifier and TypeMethodDescriptionTypeResolver.Foo.toTypeKeys(Iterable<? extends Ast.Type> types)