Lines Matching refs:old_node
142 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() argument
148 old_node->deleted = 0; in merge_nodes()
152 add_label(&old_node->labels, l->label); in merge_nodes()
163 delete_property_by_name(old_node, new_prop->name); in merge_nodes()
169 for_each_property_withdel(old_node, old_prop) { in merge_nodes()
187 add_property(old_node, new_prop); in merge_nodes()
200 delete_node_by_name(old_node, new_child->name); in merge_nodes()
206 for_each_child_withdel(old_node, old_child) { in merge_nodes()
216 add_child(old_node, new_child); in merge_nodes()
219 old_node->srcpos = srcpos_extend(old_node->srcpos, new_node->srcpos); in merge_nodes()
225 return old_node; in merge_nodes()