Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Parser
Parser.XML
Parser.XML.Tree
Parser.XML.Tree.AbstractNode

Method Parser.XML.Tree.AbstractNode()->tmp_add_child()


Method tmp_add_child

AbstractNode tmp_add_child(AbstractNode c)

Description

Variant of add_child that doesn't set the parent pointer in the child.

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.