public class GFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Console |
console |
protected boolean |
optimize |
protected GRenderer |
renderer |
| Constructor and Description |
|---|
GFactory() |
| Modifier and Type | Method and Description |
|---|---|
List<GGraphGroup> |
buildGraphsForErrors(ANTLRGrammarEngine antlrEngineGrammar,
String rule,
List<GrammarError> errors) |
GGraph |
buildGraphsForRule(ANTLRGrammarEngine antlrEngineGrammar,
String rule) |
List |
buildGraphsForRule(ANTLRGrammarEngine antlrEngineGrammar,
String rule,
List<GrammarError> errors) |
void |
setConsole(Console console) |
void |
setOptimize(boolean flag) |
void |
toggleNFAOptimization() |
protected GRenderer renderer
protected boolean optimize
protected Console console
public void setOptimize(boolean flag)
public void toggleNFAOptimization()
public void setConsole(Console console)
public List buildGraphsForRule(ANTLRGrammarEngine antlrEngineGrammar, String rule, List<GrammarError> errors) throws Exception
Exceptionpublic GGraph buildGraphsForRule(ANTLRGrammarEngine antlrEngineGrammar, String rule) throws Exception
Exceptionpublic List<GGraphGroup> buildGraphsForErrors(ANTLRGrammarEngine antlrEngineGrammar, String rule, List<GrammarError> errors) throws Exception
ExceptionCopyright © 2013. All rights reserved.