Method Parser.XML.Tree.AbstractNode()->tmp_add_child()
- Method
tmp_add_child
Method tmp_add_child_before
Method tmp_add_child_after
AbstractNode
tmp_add_child(AbstractNode
c
)
AbstractNode
tmp_add_child_before(AbstractNode
c
,AbstractNode
old
)
AbstractNode
tmp_add_child_after(AbstractNode
c
,AbstractNode
old
)- Description
Variants of add_child, add_child_before and add_child_after that doesn't set the parent pointer in the newly added children.
This is useful while building a node tree, to get efficient refcount garbage collection if the build stops abruptly. fix_tree has to be called on the root node when the building is done.