fr.umlv.tatoo.cc.ebnf
Class EBNFASTImpl
java.lang.Object
fr.umlv.tatoo.cc.ebnf.EBNFASTImpl
- All Implemented Interfaces:
- AST
public class EBNFASTImpl
- extends Object
- implements AST
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EBNFASTImpl
public EBNFASTImpl()
getRoot
public NodeAST getRoot()
setRoot
public void setRoot(TreeAST root)
- Specified by:
setRoot
in interface AST
isAttributeSupported
public boolean isAttributeSupported(Class<?> attributeType)
- Specified by:
isAttributeSupported
in interface AST
setAttribute
public <A> void setAttribute(TreeAST node,
Class<A> attributeType,
A attribute)
- Specified by:
setAttribute
in interface AST
getAttribute
public <A> A getAttribute(TreeAST node,
Class<A> attributeType)
- Specified by:
getAttribute
in interface AST
visit
public <R,P,E extends Exception> R visit(TreeASTVisitor<? extends R,? super P,? extends E> visitor,
P parameter)
throws E extends Exception
- Specified by:
visit
in interface AST
- Throws:
E extends Exception