fr.umlv.tatoo.cc.tools.ast
Class ASTNodeBuilder
java.lang.Object
fr.umlv.tatoo.cc.tools.ast.ASTNodeBuilder
public class ASTNodeBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTNodeBuilder
public ASTNodeBuilder(String packageName)
getPackageName
public String getPackageName()
getAllNodes
public Collection<ASTNode> getAllNodes()
getNodeMap
public Map<ObjectId,ASTNode> getNodeMap()
setAsNonExpressive
public void setAsNonExpressive(NonTerminalDecl nonTerminal,
ProductionDecl production)
newCompositeNode
public ASTNodeBuilder.Creator<CompositeNode> newCompositeNode(NonTerminalDecl nonTerminal,
NonTerminalDecl enclosingElement)
newNonTerminalNode
public ASTNodeBuilder.Creator<NonTerminalNode> newNonTerminalNode(NonTerminalDecl nonTerminal,
boolean isStart)
newAttributeListNode
public ASTNodeBuilder.Creator<AttributeListNode> newAttributeListNode(NonTerminalDecl nonTerminal,
Type elementType)
newFlatNode
public ASTNodeBuilder.Creator<ProductionNode> newFlatNode(ProductionDecl production,
Map<VariableDecl,Type> varMap,
boolean isNonTerminalNotExpressive)