Package edu.udel.cis.vsl.abc.front.IF
Interface ASTBuilder
public interface ASTBuilder
An object which translates an ANTLR tree to an ABC AST.
-
Method Summary
Modifier and TypeMethodDescriptionedu.udel.cis.vsl.abc.front.common.astgen.PragmaFactoryGets thePragmaFactoryused by this builder to translate pragmas that occur in the parse tree.getTranslationUnit(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
-
getPragmaFactory
edu.udel.cis.vsl.abc.front.common.astgen.PragmaFactory getPragmaFactory()Gets thePragmaFactoryused by this builder to translate pragmas that occur in the parse tree.- Returns:
- the pragma factory used by this builder
-