Documentation ¶
Overview ¶
A parser for the DOT grammar.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parses a reader which contains a DOT string and outputs the abstract syntax tree representing the graph.
func ParseBytes ¶
Parses the bytes representing a DOT string and outputs the abstract syntax tree representing the graph.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
type ProdTab ¶
type ProdTab [numProductions]ProdTabEntry
TODO: change type and variable names to be consistent with other tables
type ProdTabEntry ¶
Click to show internal directories.
Click to hide internal directories.