fr.umlv.tatoo.cc.parser.table
Class GrammarAugmenter
java.lang.Object
fr.umlv.tatoo.cc.parser.table.GrammarAugmenter
- Direct Known Subclasses:
- LRGrammarAugmenter, SLRGrammarAugmenter
public abstract class GrammarAugmenter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrammarAugmenter
public GrammarAugmenter()
getAugmentingProduction
public abstract ProductionDecl getAugmentingProduction(NonTerminalDecl start,
TerminalDecl eof)
buildGrammar
public static Grammar buildGrammar(Collection<? extends ProductionDecl> productions,
Set<? extends NonTerminalDecl> starts,
TerminalDecl eof,
GrammarAugmenter factory)
getNewRoot
public NonTerminalDecl getNewRoot()