9
10
11
12
13
void addChild(Node *child)
Adds the child to this node's child list and sets the child's parent pointer to this Aggregate.
Node * clone(Aggregate *parent) override
Clone this node on the heap and make the clone a child of parent.
The Node class is the base class for all the nodes in QDoc's parse tree.
void setParent(Aggregate *n)
Sets the node's parent pointer to n.