README

formats/dot

License

The source code and any original content of the formats/dot directory is released under Public Domain Dedication.

The source code is also licensed under The Gonum License, and users are free to choose the license which suits their needs.

Please see gonum.org/v1/gonum for general license information, contributors, authors, etc on the Gonum suite of packages.

Expand ▾ Collapse ▴

Documentation

Overview

    Package dot implements a parser for Graphviz DOT files.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Parse

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

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

      func ParseBytes

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

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

        func ParseFile

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

          ParseFile parses the given Graphviz DOT file into an AST.

          func ParseString

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

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

            Types

            This section is empty.

            Source Files

            Directories

            Path Synopsis
            Package ast declares the types used to represent abstract syntax trees of Graphviz DOT graphs.
            Package ast declares the types used to represent abstract syntax trees of Graphviz DOT graphs.
            internal
            astx
            Package astx implements utility functions for generating abstract syntax trees of Graphviz DOT graphs.
            Package astx implements utility functions for generating abstract syntax trees of Graphviz DOT graphs.
            errors
            Package error provides generated internal error functions for DOT parsing.
            Package error provides generated internal error functions for DOT parsing.
            lexer
            Package lexer provides generated internal lexer functions for DOT parsing.
            Package lexer provides generated internal lexer functions for DOT parsing.
            parser
            Package parser provides generated internal parsing functions for DOT parsing.
            Package parser provides generated internal parsing functions for DOT parsing.
            token
            Package token provides generated internal tokenizing functions for DOT parsing.
            Package token provides generated internal tokenizing functions for DOT parsing.
            util
            Package util provides generated internal utility functions for DOT parsing.
            Package util provides generated internal utility functions for DOT parsing.