fr.umlv.tatoo.cc.tools.ast
Class ASTModel

java.lang.Object
  extended by fr.umlv.tatoo.cc.tools.ast.ASTModel

public class ASTModel
extends Object


Constructor Summary
ASTModel(ASTNodeBuilder builder, Set<? extends NonTerminalDecl> startNonTerminals)
           
 
Method Summary
 void addAllProductions(GrammarRepository grammarItemsRepository, EBNFSupport ebnfSupport, ToolsFactory toolsfactory)
           
 Collection<ASTNode> getAllNodes()
           
<A extends ASTNode>
Collection<A>
getAllNodes(Class<A> clazz)
           
 String getPackageName()
           
 Iterable<? extends Parameter<? extends ASTNode>> getStartParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTModel

public ASTModel(ASTNodeBuilder builder,
                Set<? extends NonTerminalDecl> startNonTerminals)
Method Detail

getPackageName

public String getPackageName()

getAllNodes

public Collection<ASTNode> getAllNodes()

getAllNodes

public <A extends ASTNode> Collection<A> getAllNodes(Class<A> clazz)

addAllProductions

public void addAllProductions(GrammarRepository grammarItemsRepository,
                              EBNFSupport ebnfSupport,
                              ToolsFactory toolsfactory)

getStartParameters

public Iterable<? extends Parameter<? extends ASTNode>> getStartParameters()