Package net.hydromatic.morel.ast
Abstract syntax tree.
-
Class Summary Class Description Ast Various sub-classes of AST nodes.Ast.Aggregate Call to an aggregate function in acomputeclause.Ast.AnnotatedExp Parse tree node of an expression annotated with a type.Ast.AnnotatedPat Pattern that is a pattern annotated with a type.Ast.Apply Application of a function to its argument.Ast.Case Case expression.Ast.CompositeType Not really a type, just a way for the parser to represent the type arguments to a type constructor.Ast.Con0Pat Type constructor pattern with no argument.Ast.ConPat Type constructor pattern with an argument.Ast.DatatypeBind Parse tree node of a datatype binding.Ast.DatatypeDecl Parse tree node of a datatype declaration.Ast.Decl Base class for declarations.Ast.Exp Base class of expression ASTs.Ast.Fn Lambda expression.Ast.From From expression.Ast.FunBind One of the branches (separated by 'and') in a 'fun' function declaration.Ast.FunctionType Function type.Ast.FunDecl Parse tree node of a function declaration.Ast.FunMatch One of the branches (separated by '|') in a 'fun' function declaration.Ast.Id Parse tree node of an identifier.Ast.IdPat Named pattern, the pattern analog of theAst.Idexpression.Ast.If "If ...Ast.InfixCall Call to an infix operator.Ast.InfixPat Pattern build from an infix operator applied to two patterns.Ast.LetExp "Let" expression.Ast.List List.Ast.ListPat List pattern, the pattern analog of theAst.Listexpression.Ast.Literal Parse tree node of a literal (constant).Ast.LiteralPat Literal pattern, the pattern analog of theAst.Literalexpression.Ast.Match Match.Ast.NamedType Parse tree for a named type (e.g.Ast.Pat Base class for a pattern.Ast.PrefixCall Call to an prefix operator.Ast.Record Record.Ast.RecordPat Record pattern.Ast.RecordSelector Parse tree node of a record selector.Ast.RecordType Parse tree node of a record type.Ast.Tuple Tuple.Ast.TuplePat Tuple pattern, the pattern analog of theAst.Tupleexpression.Ast.TupleType Tuple type.Ast.TyCon Type constructor.Ast.Type Base class for parse tree nodes that represent types.Ast.TyVar Parse tree node of a type variable.Ast.ValBind Value bind.Ast.ValDecl Parse tree node of a value declaration.Ast.WildcardPat Wildcard pattern.AstNode Abstract syntax tree node.AstWriter Context for writing an AST out as a string.Pos Position of a parse-tree node.Shuttle Visits and transforms syntax trees. -
Enum Summary Enum Description AstBuilder Builds parse tree nodes.Op Sub-types ofAstNode.