C# Class Org.Edgerunner.ANTLR4.Tools.Graphing.ParseTreeGrapher

Class used to graph ANTLR4 parse trees.
This class uses Microsoft's Automatic Graph Layout Library to do the actual dirty work.
Inheritance: IParseTreeGrapher
Show file Open project: wiredwiz/Grun.Net

Public Methods

Method Description
CreateGraph ( ITree tree, IList parserRules ) : Graph

Private Methods

Method Description
FormatNodes ( Graph graph, ITree tree, IList parserRules ) : void
GraphEdges ( Graph graph, ITree tree ) : void

Method Details

CreateGraph() public method

public CreateGraph ( ITree tree, IList parserRules ) : Graph
tree ITree
parserRules IList
return Graph