Package net.hydromatic.morel.ast
Class Ast.Type
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Type
- Direct Known Subclasses:
Ast.CompositeType,Ast.FunctionType,Ast.NamedType,Ast.RecordType,Ast.TupleType,Ast.TyVar
- Enclosing class:
Ast
Base class for parse tree nodes that represent types.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Ast.TypeAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.
-
Constructor Details
-
Type
Creates a type node.
-
-
Method Details
-
accept
Description copied from class:AstNodeAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.
-