| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected Grammar | |
| protected String | |
| public static final STGroup | stlib
Library of output templates; use |
| public static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | |
| public String | |
| protected String | getEdgeLabel(String label)
Fix edge strings so they print out in DOT properly; generate any gated predicates on edge too. |
| protected String | |
| protected String |
| arrowhead | back to summary |
|---|---|
| protected String arrowhead | |
| grammar | back to summary |
|---|---|
| protected Grammar grammar | |
| rankdir | back to summary |
|---|---|
| protected String rankdir | |
| stlib | back to summary |
|---|---|
| public static final STGroup stlib Library of output templates; use | |
| STRIP_NONREDUCED_STATES | back to summary |
|---|---|
| public static final boolean STRIP_NONREDUCED_STATES | |
| DOTGenerator | back to summary |
|---|---|
| public DOTGenerator(Grammar grammar) This aspect is associated with a grammar | |
| getDOT | back to summary |
|---|---|
| public String getDOT(DFA dfa, boolean isLexer) | |
| getDOT | back to summary |
|---|---|
| public String getDOT(ATNState startState) | |
| getDOT | back to summary |
|---|---|
| public String getDOT(ATNState startState, boolean isLexer) | |
| getDOT | back to summary |
|---|---|
| public String getDOT(ATNState startState, String[] ruleNames, boolean isLexer) Return a String containing a DOT description that, when displayed, will show the incoming state machine visually. All nodes reachable from startState will be included. | |
| getEdgeLabel | back to summary |
|---|---|
| protected String getEdgeLabel(String label) Fix edge strings so they print out in DOT properly; generate any gated predicates on edge too. | |
| getStateLabel | back to summary |
|---|---|
| protected String getStateLabel(DFAState s) | |
| getStateLabel | back to summary |
|---|---|
| protected String getStateLabel(ATNState s) | |