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 Context ¶
type Context interface{}
Parser-specific user-defined and entirely-optional context, accessible as '$Context' in SDT actions.
type Parser ¶
type Parser struct { Context Context // contains filtered or unexported fields }
type ProdTab ¶
type ProdTab [numProductions]ProdTabEntry
type ProdTabEntry ¶
Click to show internal directories.
Click to hide internal directories.