dot

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2022 License: BSD-3-Clause Imports: 6 Imported by: 8

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.

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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL