func (n *ModeAttr) Children() []Node {
	return n.ChildNodes
}
Children returns the child nodes. If this node does not have any children or
this node does not support children it will always return an empty slice.
package ast
type ModeAttr struct {
	Addr       Address
	Pos        Position
	Name       string
	ChildNodes []Node
}
func parseModeAttr(line string) *ModeAttr {
	groups := groupsFromRegex(
		"<(?P<position>.*)> (?P<name>.+)",
		line,
	)
	return &ModeAttr{
		Addr:       ParseAddress(groups["address"]),
		Pos:        NewPositionFromString(groups["position"]),
		Name:       groups["name"],
		ChildNodes: []Node{},
	}
}
func (n *ModeAttr) AddChild(node Node) {
	n.ChildNodes = append(n.ChildNodes, node)
}
func (n *ModeAttr) Address() Address {
	return n.Addr
}