func (n *AccessSpecDecl) AddChild(node Node) {
	n.ChildNodes = append(n.ChildNodes, node)
}
AddChild adds a new child node. Child nodes can then be accessed with the
Children attribute.
package ast
import (
	"strings"
)
type AccessSpecDecl struct {
	Addr       Address
	Pos        Position
	Position2  string
	Name       string
	ChildNodes []Node
}
func parseAccessSpecDecl(line string) *AccessSpecDecl {
	groups := groupsFromRegex(
		`<(?P<position>.*)>
		(?P<position2> col:\d+| line:\d+:\d+)?
		(?P<name>.*?)?
		`,
		line,
	)
	return &AccessSpecDecl{
		Addr:       ParseAddress(groups["address"]),
		Pos:        NewPositionFromString(groups["position"]),
		Position2:  strings.TrimSpace(groups["position2"]),
		Name:       strings.TrimSpace(groups["name"]),
		ChildNodes: []Node{},
	}
}