Documentation ¶
Overview ¶
Package syntax contains the syntax for reading and writing graphs to files. It also comes with predefined variables for common syntaxes. The syntax struct assumes that every edge is written in a single line.
Index ¶
Constants ¶
View Source
const IGNOREFIELD = ""
to be used in Syntax to indicate that the field is not available in the syntax
Variables ¶
View Source
var Dot = &Syntax{ GraphPrefix: "digraph{", EdgePrefix: "", SourceDelimiter: "", EdgeInfix: "->", TargetDelimiter: "", EdgeSuffix: ";", GraphSuffix: "}", StripWhitespace: true, }
View Source
var MakeCall = []*Syntax{ { GraphPrefix: "", EdgePrefix: "$(call DEPEND_ALL,", SourceDelimiter: "", EdgeInfix: ",", TargetDelimiter: ",", EdgeSuffix: ")", GraphSuffix: "", StripWhitespace: true, }, { GraphPrefix: "", EdgePrefix: "$(call ALL_SPECS,", SourceDelimiter: ",", EdgeInfix: "):", TargetDelimiter: " ", EdgeSuffix: "", GraphSuffix: "", StripWhitespace: true, }, }
View Source
var Makefile = &Syntax{ GraphPrefix: "", EdgePrefix: "", SourceDelimiter: " ", EdgeInfix: ":", TargetDelimiter: " ", EdgeSuffix: "", GraphSuffix: "", StripWhitespace: true, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.