public class SingleProductionNonTerminalRemovalVisitor extends AbstractGrammarEntityVisitor
marked| Constructor and Description |
|---|
SingleProductionNonTerminalRemovalVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Grammar g) |
void |
out(NonTerminal nonTerminal) |
boolean |
shouldPrettyPrint()
If this method returns true the grammar will be printed to debug after the visitor has run
|
public SingleProductionNonTerminalRemovalVisitor()
public void apply(Grammar g)
apply in interface GrammarEntityVisitorapply in class AbstractGrammarEntityVisitorpublic void out(NonTerminal nonTerminal)
out in interface GrammarEntityVisitorout in class AbstractGrammarEntityVisitorpublic boolean shouldPrettyPrint()
AbstractGrammarEntityVisitorshouldPrettyPrint in interface GrammarEntityVisitorshouldPrettyPrint in class AbstractGrammarEntityVisitorCopyright © 2008-2013 Mathias Schwarz.