Package net.hydromatic.morel.ast
Class Ast
java.lang.Object
net.hydromatic.morel.ast.Ast
Various sub-classes of AST nodes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCall to an aggregate function in acomputeclause.static classParse tree node of an expression annotated with a type.static classPattern that is a pattern annotated with a type.static classApplication of a function to its argument.static classLayered pattern.static classCase expression.static classNot really a type, just a way for the parser to represent the type arguments to a type constructor.static classAcomputeclause in afromexpression.static classType constructor pattern with no argument.static classType constructor pattern with an argument.static classParse tree node of a datatype binding.static classParse tree node of a datatype declaration.static classBase class for declarations.static enumSort order.static classBase class of expression ASTs.static classLambda expression.static classFrom expression.static classA step in afromexpression -where,groupororder.static classOne of the branches (separated by 'and') in a 'fun' function declaration.static classFunction type.static classParse tree node of a function declaration.static classOne of the branches (separated by '|') in a 'fun' function declaration.static classAgroupclause in afromexpression.static classParse tree node of an identifier.static classNamed pattern, the pattern analog of theAst.Idexpression.static class"If ...static classCall to an infix operator.static classPattern build from an infix operator applied to two patterns.static class"Let" expression.static classList expression.static classList pattern, the pattern analog of theAst.ListExpexpression.static classParse tree node of a literal (constant).static classLiteral pattern, the pattern analog of theAst.Literalexpression.static classMatch.static classParse tree for a named type (e.g.static classAnorderclause in afromexpression.static classAn item in anorderclause.static classBase class for a pattern.static classCall to a prefix operator.static classRecord.static classRecord pattern.static classParse tree node of a record selector.static classParse tree node of a record type.static classA scan (e.g.static classAskipclause in afromexpression.static classAtakeclause in afromexpression.static classTuple.static classTuple pattern, the pattern analog of theAst.Tupleexpression.static classTuple type.static classType constructor.static classBase class for parse tree nodes that represent types.static classParse tree node of a type variable.static classValue bind.static classParse tree node of a value declaration.static classAwhereclause in afromexpression.static classWildcard pattern.static classAyieldclause in afromexpression. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Ast
private Ast()
-