public class UselessProductionRemovalVisitor extends AbstractGrammarEntityVisitor
Grammar using the algorithm described in
[JüDode]marked| Constructor and Description |
|---|
UselessProductionRemovalVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Grammar g) |
boolean |
shouldPrettyPrint()
If this method returns true the grammar will be printed to debug after the visitor has run
|
public void apply(Grammar g)
apply in interface GrammarEntityVisitorapply in class AbstractGrammarEntityVisitorpublic boolean shouldPrettyPrint()
AbstractGrammarEntityVisitorshouldPrettyPrint in interface GrammarEntityVisitorshouldPrettyPrint in class AbstractGrammarEntityVisitorCopyright © 2008-2013 Mathias Schwarz.