Class Ast


  • public class Ast
    extends Object
    Various sub-classes of AST nodes.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Ast.Aggregate
      Call to an aggregate function in a compute clause.
      static class  Ast.AnnotatedExp
      Parse tree node of an expression annotated with a type.
      static class  Ast.AnnotatedPat
      Pattern that is a pattern annotated with a type.
      static class  Ast.Apply
      Application of a function to its argument.
      static class  Ast.AsPat
      Layered pattern.
      static class  Ast.Case
      Case expression.
      static class  Ast.CompositeType
      Not really a type, just a way for the parser to represent the type arguments to a type constructor.
      static class  Ast.Compute
      A compute clause in a from expression.
      static class  Ast.Con0Pat
      Type constructor pattern with no argument.
      static class  Ast.ConPat
      Type constructor pattern with an argument.
      static class  Ast.DatatypeBind
      Parse tree node of a datatype binding.
      static class  Ast.DatatypeDecl
      Parse tree node of a datatype declaration.
      static class  Ast.Decl
      Base class for declarations.
      static class  Ast.Direction
      Sort order.
      static class  Ast.Exp
      Base class of expression ASTs.
      static class  Ast.Fn
      Lambda expression.
      static class  Ast.From
      From expression.
      static class  Ast.FromStep
      A step in a from expression - where, group or order.
      static class  Ast.FunBind
      One of the branches (separated by 'and') in a 'fun' function declaration.
      static class  Ast.FunctionType
      Function type.
      static class  Ast.FunDecl
      Parse tree node of a function declaration.
      static class  Ast.FunMatch
      One of the branches (separated by '|') in a 'fun' function declaration.
      static class  Ast.Group
      A group clause in a from expression.
      static class  Ast.Id
      Parse tree node of an identifier.
      static class  Ast.IdPat
      Named pattern, the pattern analog of the Ast.Id expression.
      static class  Ast.If
      "If ...
      static class  Ast.InfixCall
      Call to an infix operator.
      static class  Ast.InfixPat
      Pattern build from an infix operator applied to two patterns.
      static class  Ast.Let
      "Let" expression.
      static class  Ast.ListExp
      List expression.
      static class  Ast.ListPat
      List pattern, the pattern analog of the Ast.ListExp expression.
      static class  Ast.Literal
      Parse tree node of a literal (constant).
      static class  Ast.LiteralPat
      Literal pattern, the pattern analog of the Ast.Literal expression.
      static class  Ast.Match
      Match.
      static class  Ast.NamedType
      Parse tree for a named type (e.g.
      static class  Ast.Order
      An order clause in a from expression.
      static class  Ast.OrderItem
      An item in an order clause.
      static class  Ast.Pat
      Base class for a pattern.
      static class  Ast.PrefixCall
      Call to a prefix operator.
      static class  Ast.Record
      Record.
      static class  Ast.RecordPat
      Record pattern.
      static class  Ast.RecordSelector
      Parse tree node of a record selector.
      static class  Ast.RecordType
      Parse tree node of a record type.
      static class  Ast.Scan
      A scan (e.g.
      static class  Ast.Tuple
      Tuple.
      static class  Ast.TuplePat
      Tuple pattern, the pattern analog of the Ast.Tuple expression.
      static class  Ast.TupleType
      Tuple type.
      static class  Ast.TyCon
      Type constructor.
      static class  Ast.Type
      Base class for parse tree nodes that represent types.
      static class  Ast.TyVar
      Parse tree node of a type variable.
      static class  Ast.ValBind
      Value bind.
      static class  Ast.ValDecl
      Parse tree node of a value declaration.
      static class  Ast.Where
      A where clause in a from expression.
      static class  Ast.WildcardPat
      Wildcard pattern.
      static class  Ast.Yield
      A yield clause in a from expression.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Ast()  
    • Constructor Detail

      • Ast

        private Ast()