Package net.hydromatic.morel.ast
Class Ast
- java.lang.Object
-
- net.hydromatic.morel.ast.Ast
-
public class Ast extends Object
Various sub-classes of AST nodes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAst.AggregateCall to an aggregate function in acomputeclause.static classAst.AnnotatedExpParse tree node of an expression annotated with a type.static classAst.AnnotatedPatPattern that is a pattern annotated with a type.static classAst.ApplyApplication of a function to its argument.static classAst.AsPatLayered pattern.static classAst.CaseCase expression.static classAst.CompositeTypeNot really a type, just a way for the parser to represent the type arguments to a type constructor.static classAst.ComputeAcomputeclause in afromexpression.static classAst.Con0PatType constructor pattern with no argument.static classAst.ConPatType constructor pattern with an argument.static classAst.DatatypeBindParse tree node of a datatype binding.static classAst.DatatypeDeclParse tree node of a datatype declaration.static classAst.DeclBase class for declarations.static classAst.DirectionSort order.static classAst.ExpBase class of expression ASTs.static classAst.FnLambda expression.static classAst.FromFrom expression.static classAst.FromStepA step in afromexpression -where,groupororder.static classAst.FunBindOne of the branches (separated by 'and') in a 'fun' function declaration.static classAst.FunctionTypeFunction type.static classAst.FunDeclParse tree node of a function declaration.static classAst.FunMatchOne of the branches (separated by '|') in a 'fun' function declaration.static classAst.GroupAgroupclause in afromexpression.static classAst.IdParse tree node of an identifier.static classAst.IdPatNamed pattern, the pattern analog of theAst.Idexpression.static classAst.If"If ...static classAst.InfixCallCall to an infix operator.static classAst.InfixPatPattern build from an infix operator applied to two patterns.static classAst.Let"Let" expression.static classAst.ListExpList expression.static classAst.ListPatList pattern, the pattern analog of theAst.ListExpexpression.static classAst.LiteralParse tree node of a literal (constant).static classAst.LiteralPatLiteral pattern, the pattern analog of theAst.Literalexpression.static classAst.MatchMatch.static classAst.NamedTypeParse tree for a named type (e.g.static classAst.OrderAnorderclause in afromexpression.static classAst.OrderItemAn item in anorderclause.static classAst.PatBase class for a pattern.static classAst.PrefixCallCall to a prefix operator.static classAst.RecordRecord.static classAst.RecordPatRecord pattern.static classAst.RecordSelectorParse tree node of a record selector.static classAst.RecordTypeParse tree node of a record type.static classAst.ScanA scan (e.g.static classAst.TupleTuple.static classAst.TuplePatTuple pattern, the pattern analog of theAst.Tupleexpression.static classAst.TupleTypeTuple type.static classAst.TyConType constructor.static classAst.TypeBase class for parse tree nodes that represent types.static classAst.TyVarParse tree node of a type variable.static classAst.ValBindValue bind.static classAst.ValDeclParse tree node of a value declaration.static classAst.WhereAwhereclause in afromexpression.static classAst.WildcardPatWildcard pattern.static classAst.YieldAyieldclause in afromexpression.
-
Constructor Summary
Constructors Modifier Constructor Description privateAst()
-