43 #include "ling_class/EST_Item.h"
44 #include "ling_class/EST_Item_Content.h"
45 #include "ling_class/EST_Relation.h"
51 for (i=l; i != 0; i=i->next())
65 for (i=daughter1(t); i != 0; i=next_sibling(i))
82 EST_Item::splice(p,n);
91 merge_features(to->features(),from->features());
98 i->set_contents(to->contents());
100 from->set_contents(to->contents());
110 if (keep_id) keep = to->
S(
"id",
"0");
111 merge_features(to->features(),from->features());
112 if (keep_id) to->
set(
"id", keep);
121 to->set_contents(from->contents());
135 if (in_tree(to,from))
138 to->set_contents(from->contents());
141 d = to->grab_daughters();
144 if ((rfrom != 0) && (daughter1(rfrom)))
146 copy_node_tree(daughter1(rfrom),to->insert_below(daughter1(rfrom)));
164 if ((!rfrom) || (in_tree(rfrom,to)) || (in_tree(to,rfrom)))
169 EST_Item *from_d = rfrom->grab_daughters();
170 EST_Item *to_d = to->grab_daughters();
172 to->set_contents(fromc);
173 rfrom->set_contents(toc);
175 copy_node_tree(from_d,to->insert_below(from_d));
177 copy_node_tree(to_d,from->insert_below(to_d));
194 else if (to ==
"Syllable")
196 else if (to ==
"Word")
198 else if (to ==
"IntEvent")
210 if ( t == 0 || f == 0 )