func (n *DeprecatedAttr) 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 DeprecatedAttr struct {
	Addr        Address
	Pos         Position
	Message1    string
	Message2    string
	IsInherited bool
	ChildNodes  []Node
}
func parseDeprecatedAttr(line string) *DeprecatedAttr {
	groups := groupsFromRegex(
		`<(?P<position>.*)>(?P<inherited> Inherited)? "(?P<message1>.*?)"(?P<message2> ".*?")?`,
		line,
	)
	return &DeprecatedAttr{
		Addr:        ParseAddress(groups["address"]),
		Pos:         NewPositionFromString(groups["position"]),
		Message1:    removeQuotes(groups["message1"]),
		Message2:    removeQuotes(groups["message2"]),
		IsInherited: len(groups["inherited"]) > 0,
		ChildNodes:  []Node{},
	}
}
func (n *DeprecatedAttr) AddChild(node Node) {
	n.ChildNodes = append(n.ChildNodes, node)
}
func (n *DeprecatedAttr) Address() Address {
	return n.Addr
}