gonum: gonum.org/v1/gonum/graph/formats/dot Index | Files | Directories

package dot

import "gonum.org/v1/gonum/graph/formats/dot"

Package dot implements a parser for Graphviz DOT files.

Index

Package Files

doc.go dot.go sem.go

func Parse Uses

func Parse(r io.Reader) (*ast.File, error)

Parse parses the given Graphviz DOT file into an AST, reading from r.

func ParseBytes Uses

func ParseBytes(b []byte) (*ast.File, error)

ParseBytes parses the given Graphviz DOT file into an AST, reading from b.

func ParseFile Uses

func ParseFile(path string) (*ast.File, error)

ParseFile parses the given Graphviz DOT file into an AST.

func ParseString Uses

func ParseString(s string) (*ast.File, error)

ParseString parses the given Graphviz DOT file into an AST, reading from s.

Directories

PathSynopsis
astPackage ast declares the types used to represent abstract syntax trees of Graphviz DOT graphs.
internal/astxPackage astx implements utility functions for generating abstract syntax trees of Graphviz DOT graphs.
internal/errorsPackage error provides generated internal error functions for DOT parsing.
internal/lexerPackage lexer provides generated internal lexer functions for DOT parsing.
internal/parserPackage parser provides generated internal parsing functions for DOT parsing.
internal/tokenPackage token provides generated internal tokenizing functions for DOT parsing.
internal/utilPackage util provides generated internal utility functions for DOT parsing.

Package dot imports 6 packages (graph) and is imported by 1 packages. Updated 2019-03-13. Refresh now. Tools for package owners.