public interface ASTBuilder
An object which translates an ANTLR tree to an ABC AST.
-
Method Summary
Modifier and TypeMethodDescriptiongetTranslationUnit(ParseTree tree) Builds the AST specified by aParseTreewhich represents a translation unit.
-
Method Details
-
getTranslationUnit
Builds the AST specified by aParseTreewhich represents a translation unit.- Returns:
- the AST
- Throws:
SyntaxException- if something is wrong with the object being translated into an ABC
-
getASTFactory
ASTFactory getASTFactory()- Returns:
- the
ASTFactoryused by this builder
-