fr.umlv.tatoo.cc.parser.table
Class NodeFactory<I extends NodeItem<I>>

java.lang.Object
  extended by fr.umlv.tatoo.cc.parser.table.NodeFactory<I>

public class NodeFactory<I extends NodeItem<I>>
extends Object


Constructor Summary
NodeFactory(Grammar grammar, GrammarSets grammarSets, TerminalDecl eof, Map<VersionDecl,? extends Set<? extends VersionDecl>> versionMap, TableFactoryMethod<I> method)
           
 
Method Summary
 NodeDecl<I> buildNode(Set<I> kI, VariableDecl associated)
           
 Collection<? extends NodeDecl<I>> getNodes()
           
 HashSet<NodeDecl<I>> getStartNodes()
           
 Map<NonTerminalDecl,NodeDecl<I>> getStartStateMap()
           
 void register(Set<I> kernelItems, NodeDecl<I> node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFactory

public NodeFactory(Grammar grammar,
                   GrammarSets grammarSets,
                   TerminalDecl eof,
                   Map<VersionDecl,? extends Set<? extends VersionDecl>> versionMap,
                   TableFactoryMethod<I> method)
Method Detail

register

public void register(Set<I> kernelItems,
                     NodeDecl<I> node)

getNodes

public Collection<? extends NodeDecl<I>> getNodes()

buildNode

public NodeDecl<I> buildNode(Set<I> kI,
                             VariableDecl associated)

getStartStateMap

public Map<NonTerminalDecl,NodeDecl<I>> getStartStateMap()

getStartNodes

public HashSet<NodeDecl<I>> getStartNodes()