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 class 
    Call to an aggregate function in a compute clause.
    static class 
    Parse tree node of an expression annotated with a type.
    static class 
    Pattern that is a pattern annotated with a type.
    static class 
    Application of a function to its argument.
    static class 
    Layered pattern.
    static class 
    Case expression.
    static class 
    Not really a type, just a way for the parser to represent the type arguments to a type constructor.
    static class 
    A compute clause in a from expression.
    static class 
    Type constructor pattern with no argument.
    static class 
    Type constructor pattern with an argument.
    static class 
    Parse tree node of a datatype binding.
    static class 
    Parse tree node of a datatype declaration.
    static class 
    Base class for declarations.
    static enum 
    Sort order.
    static class 
    Base class of expression ASTs.
    static class 
    Lambda expression.
    static class 
    From expression.
    static class 
    A step in a from expression - where, group or order.
    static class 
    One of the branches (separated by 'and') in a 'fun' function declaration.
    static class 
    Function type.
    static class 
    Parse tree node of a function declaration.
    static class 
    One of the branches (separated by '|') in a 'fun' function declaration.
    static class 
    A group clause in a from expression.
    static class 
    Parse tree node of an identifier.
    static class 
    Named pattern, the pattern analog of the Ast.Id expression.
    static class 
    "If ...
    static class 
    Call to an infix operator.
    static class 
    Pattern build from an infix operator applied to two patterns.
    static class 
    "Let" expression.
    static class 
    List expression.
    static class 
    List pattern, the pattern analog of the Ast.ListExp expression.
    static class 
    Parse tree node of a literal (constant).
    static class 
    Literal pattern, the pattern analog of the Ast.Literal expression.
    static class 
    Match.
    static class 
    Parse tree for a named type (e.g.
    static class 
    An order clause in a from expression.
    static class 
    An item in an order clause.
    static class 
    Base class for a pattern.
    static class 
    Call to a prefix operator.
    static class 
    Record.
    static class 
    Record pattern.
    static class 
    Parse tree node of a record selector.
    static class 
    Parse tree node of a record type.
    static class 
    A scan (e.g.
    static class 
    A skip clause in a from expression.
    static class 
    A take clause in a from expression.
    static class 
    Tuple.
    static class 
    Tuple pattern, the pattern analog of the Ast.Tuple expression.
    static class 
    Tuple type.
    static class 
    Type constructor.
    static class 
    Base class for parse tree nodes that represent types.
    static class 
    Parse tree node of a type variable.
    static class 
    Value bind.
    static class 
    Parse tree node of a value declaration.
    static class 
    A where clause in a from expression.
    static class 
    Wildcard pattern.
    static class 
    A yield clause in a from expression.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Ast()
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Ast

      private Ast()