org.eclipse.xtext
Class GrammarToDot
java.lang.Object
org.eclipse.xtext.util.GraphvizDotBuilder
org.eclipse.xtext.GrammarToDot
- Direct Known Subclasses:
- ElementMatcherToDot, NFAToDot, TreeConstNFAToDot
public class GrammarToDot
- extends GraphvizDotBuilder
- Author:
- Moritz Eysholdt - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aeSwitch
protected GrammarElementTitleSwitch aeSwitch
GrammarToDot
public GrammarToDot()
drawAbstractElementTree
protected GraphvizDotBuilder.Node drawAbstractElementTree(AbstractElement ele,
GraphvizDotBuilder.Digraph d)
drawGrammar
protected GraphvizDotBuilder.Digraph drawGrammar(Grammar g,
GraphvizDotBuilder.Digraph d)
drawGrammarContainementEdge
protected GraphvizDotBuilder.Props drawGrammarContainementEdge(AbstractElement container,
AbstractElement child)
drawObject
protected GraphvizDotBuilder.Props drawObject(java.lang.Object obj)
- Specified by:
drawObject
in class GraphvizDotBuilder
drawRule
protected GraphvizDotBuilder.Digraph drawRule(AbstractRule rule,
GraphvizDotBuilder.Digraph d)
newNode
protected GraphvizDotBuilder.Node newNode(org.eclipse.emf.ecore.EObject obj,
java.lang.String label)