fr.umlv.tatoo.cc.ebnf.ast
Interface TreeAST

All Known Subinterfaces:
BindingSite, NodeAST, NonTerminalBinder, TypeBinder, VariableVarAST
All Known Implementing Classes:
AliasDefAST, DirectiveDefAST, EnhancedDefAST, ImportDefAST, MacroDefAST, NonTerminalDefAST, PriorityDefAST, PriorityVarAST, ProductionDefAST, ProductionIdAndVersionDefAST, QuotedIdVarAST, RootDefAST, RuleDefAST, SimpleNodeAST, StartNonTerminalSetDefAST, TerminalDefAST, TokenAST, TypeVarAST, UnquotedIdVarAST, VariableTypeDefAST, VersionDefAST, VersionVarAST

public interface TreeAST


Method Summary
<R,P,E extends Exception>
R
accept(TreeASTVisitor<? extends R,? super P,? extends E> visitor, P parameter)
           
 AST getAST()
           
<A> A
getAttribute(Class<A> attributeType)
           
 Object getKind()
           
 NodeAST getParent()
           
 boolean isToken()
           
<A> void
setAttribute(Class<A> attributeType, A attribute)
           
 

Method Detail

isToken

boolean isToken()

getKind

Object getKind()

getParent

NodeAST getParent()

getAttribute

<A> A getAttribute(Class<A> attributeType)

setAttribute

<A> void setAttribute(Class<A> attributeType,
                      A attribute)

getAST

AST getAST()

accept

<R,P,E extends Exception> R accept(TreeASTVisitor<? extends R,? super P,? extends E> visitor,
                                   P parameter)
         throws E extends Exception
Throws:
E extends Exception