Versions in this module Expand all Collapse all v1 v1.0.3 Jul 20, 2015 v1.0.2 Jul 14, 2015 v1.0.1 Jun 30, 2015 v1.0.0 Jun 18, 2015 v0 v0.6.2 Jun 17, 2015 v0.6.1 Jun 15, 2015 v0.5.4 Jun 4, 2015 v0.5.3 May 28, 2015 v0.5.2 May 19, 2015 v0.5.1 May 13, 2015 v0.4.4 Apr 23, 2015 v0.4.3 Apr 8, 2015 v0.4.2 Mar 31, 2015 Changes in this version + const DIGRAPH + const FALSE + const GRAPH + const TRUE + type AList []*Attr + func AppendAList(as, a Elem) (AList, error) + func NewAList(a Elem) (AList, error) + func (this AList) String() string + func (this AList) Walk(v Visitor) + type Attr struct + Field Id + Value Id + func NewAttr(f, v Elem) (*Attr, error) + func (this *Attr) String() string + func (this *Attr) Walk(v Visitor) + type AttrList []AList + func AppendAttrList(as, a Elem) (AttrList, error) + func NewAttrList(a Elem) (AttrList, error) + func PutMap(attrmap map[string]string) AttrList + func (this AttrList) GetMap() map[string]string + func (this AttrList) String() string + func (this AttrList) Walk(v Visitor) + type Bool bool + func (this Bool) String() string + func (this Bool) Walk(v Visitor) + type EdgeAttrs AttrList + func NewEdgeAttrs(a Elem) (EdgeAttrs, error) + func (this EdgeAttrs) String() string + func (this EdgeAttrs) Walk(v Visitor) + type EdgeOp bool + const DIRECTED + const UNDIRECTED + func (this EdgeOp) String() string + func (this EdgeOp) Walk(v Visitor) + type EdgeRH struct + Destination Location + Op EdgeOp + func (this *EdgeRH) String() string + func (this *EdgeRH) Walk(v Visitor) + type EdgeRHS []*EdgeRH + func AppendEdgeRHS(e, op, id Elem) (EdgeRHS, error) + func NewEdgeRHS(op, id Elem) (EdgeRHS, error) + func (this EdgeRHS) String() string + func (this EdgeRHS) Walk(v Visitor) + type EdgeStmt struct + Attrs AttrList + EdgeRHS EdgeRHS + Source Location + func NewEdgeStmt(id, e, attrs Elem) (*EdgeStmt, error) + func (this EdgeStmt) String() string + func (this EdgeStmt) Walk(v Visitor) + type Elem interface + String func() string + type Graph struct + Id Id + StmtList StmtList + Strict bool + Type GraphType + func NewGraph(t, strict, id, l Elem) (*Graph, error) + func (this *Graph) String() string + func (this *Graph) Walk(v Visitor) + type GraphAttrs AttrList + func NewGraphAttrs(a Elem) (GraphAttrs, error) + func (this GraphAttrs) String() string + func (this GraphAttrs) Walk(v Visitor) + type GraphType bool + func (this GraphType) String() string + func (this GraphType) Walk(v Visitor) + type Id string + func NewId(id Elem) (Id, error) + func (this Id) String() string + func (this Id) Walk(v Visitor) + type Location interface + GetId func() Id + GetPort func() Port + IsNode func() bool + type NodeAttrs AttrList + func NewNodeAttrs(a Elem) (NodeAttrs, error) + func (this NodeAttrs) String() string + func (this NodeAttrs) Walk(v Visitor) + type NodeId struct + Id Id + Port Port + func MakeNodeId(id string, port string) *NodeId + func NewNodeId(id Elem, port Elem) (*NodeId, error) + func (this *NodeId) GetId() Id + func (this *NodeId) GetPort() Port + func (this *NodeId) IsNode() bool + func (this *NodeId) String() string + func (this *NodeId) Walk(v Visitor) + type NodeStmt struct + Attrs AttrList + NodeId *NodeId + func NewNodeStmt(id, attrs Elem) (*NodeStmt, error) + func (this NodeStmt) String() string + func (this NodeStmt) Walk(v Visitor) + type Port struct + Id1 Id + Id2 Id + func NewPort(id1, id2 Elem) (Port, error) + func (this Port) String() string + func (this Port) Walk(v Visitor) + type Stmt interface + type StmtList []Stmt + func AppendStmtList(ss, s Elem) (StmtList, error) + func NewStmtList(s Elem) (StmtList, error) + func (this StmtList) String() string + func (this StmtList) Walk(v Visitor) + type SubGraph struct + Id Id + StmtList StmtList + func NewSubGraph(id, l Elem) (*SubGraph, error) + func (this *SubGraph) GetId() Id + func (this *SubGraph) GetPort() Port + func (this *SubGraph) IsNode() bool + func (this *SubGraph) String() string + func (this *SubGraph) Walk(v Visitor) + type Visitor interface + Visit func(e Elem) Visitor + type Walkable interface + Walk func(v Visitor)