Module ast defines an Abstract Syntax Tree representation of a program, the AST. This module is large and is therefore divided into several submodules. Each submodule has its own interface. This package proper contains the module entry point, ASTs and an exception class specific to ASTs.

This module is decomposed into the following submodules:
  • Class
    A representation of a program as an abstract syntax tree.
    Runtime exception thrown when something goes wrong with the AST.
    An ASTFactory is used to create all objects associated to an AST.
    Factory class providing static method to produce a new ASTFactory.
    The class collects together the standard type definitions, e.g., size_t, ptrdiff_t, etc.