Package org.antlr.v4.tool
Class DOTGenerator
java.lang.Object
org.antlr.v4.tool.DOTGenerator
The DOT (part of graphviz) generation aspect.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a String containing a DOT description that, when displayed, will show the incoming state machine visually.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
-
Field Details
-
STRIP_NONREDUCED_STATES
public static final boolean STRIP_NONREDUCED_STATES- See Also:
-
arrowhead
-
rankdir
-
stlib
public static final org.stringtemplate.v4.STGroup stlibLibrary of output templates; use<attrname>
format. -
grammar
-
-
Constructor Details
-
DOTGenerator
This aspect is associated with a grammar
-
-
Method Details
-
getDOT
-
getStateLabel
-
getDOT
-
getDOT
-
getDOT
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
Fix edge strings so they print out in DOT properly; generate any gated predicates on edge too. -
getStateLabel
-