public class ElementMatcherToDot extends GrammarToDot
GraphvizDotBuilder.Digraph, GraphvizDotBuilder.Edge, GraphvizDotBuilder.Node, GraphvizDotBuilder.Props
Modifier and Type | Field and Description |
---|---|
protected IGrammarNFAProvider<MatcherState,MatcherTransition> |
nfaProvider |
aeSwitch
log
Constructor and Description |
---|
ElementMatcherToDot() |
Modifier and Type | Method and Description |
---|---|
protected GraphvizDotBuilder.Node |
drawAbstractElementTree(AbstractElement grammarElement,
GraphvizDotBuilder.Digraph digraph) |
protected GraphvizDotBuilder.Edge |
drawFollowerEdge(AbstractElement grammarElement,
MatcherTransition transition,
boolean isParent) |
protected GraphvizDotBuilder.Props |
drawGrammarContainementEdge(AbstractElement container,
AbstractElement child) |
protected GraphvizDotBuilder.Props |
drawObject(java.lang.Object obj) |
protected GraphvizDotBuilder.Node |
newNode(org.eclipse.emf.ecore.EObject semanticObject,
java.lang.String label) |
protected java.lang.String |
toStr(java.lang.Iterable<IElementMatcherProvider.IElementPattern> list) |
drawGrammar, drawRule
draw, draw, draw, draw, getGraphvizBinary, id
protected IGrammarNFAProvider<MatcherState,MatcherTransition> nfaProvider
protected GraphvizDotBuilder.Node drawAbstractElementTree(AbstractElement grammarElement, GraphvizDotBuilder.Digraph digraph)
drawAbstractElementTree
in class GrammarToDot
protected java.lang.String toStr(java.lang.Iterable<IElementMatcherProvider.IElementPattern> list)
protected GraphvizDotBuilder.Edge drawFollowerEdge(AbstractElement grammarElement, MatcherTransition transition, boolean isParent)
protected GraphvizDotBuilder.Props drawGrammarContainementEdge(AbstractElement container, AbstractElement child)
drawGrammarContainementEdge
in class GrammarToDot
protected GraphvizDotBuilder.Props drawObject(java.lang.Object obj)
drawObject
in class GrammarToDot
protected GraphvizDotBuilder.Node newNode(org.eclipse.emf.ecore.EObject semanticObject, java.lang.String label)
newNode
in class GrammarToDot