Home | History | Annotate | Download | only in src

Lines Matching refs:old_node

90     function HarvestTodo(old_node) {
107 if (old_node.status == FunctionStatus.DAMAGED) {
108 CollectDamaged(old_node);
111 if (old_node.status == FunctionStatus.UNCHANGED) {
112 update_positions_list.push(old_node);
113 } else if (old_node.status == FunctionStatus.SOURCE_CHANGED) {
114 update_positions_list.push(old_node);
115 } else if (old_node.status == FunctionStatus.CHANGED) {
116 replace_code_list.push(old_node);
117 CollectNew(old_node.unmatched_new_nodes);
119 for (var i = 0; i < old_node.children.length; i++) {
120 HarvestTodo(old_node.children[i]);
306 function PatchFunctionCode(old_node, change_log) {
307 var new_info = old_node.corresponding_node.info;
308 if (old_node.live_shared_function_infos) {
309 old_node.live_shared_function_infos.forEach(function (old_info) {
319 for (var i = 0; i < old_node.children.length; i++) {
320 if (old_node.children[i].corresponding_node) {
322 old_node.children[i].corresponding_node.info.
325 if (old_node.children[i].live_shared_function_infos) {
326 old_node.children[i].live_shared_function_infos.
688 function ProcessChildren(old_node, new_node) {
689 var old_children = old_node.children;
721 old_node.status = FunctionStatus.CHANGED;
728 old_node.status = FunctionStatus.CHANGED;
738 old_node.status = FunctionStatus.CHANGED;
745 old_node.status = FunctionStatus.CHANGED;
756 if (old_node.status == FunctionStatus.CHANGED) {
758 WhyFunctionExpectationsDiffer(old_node.info, new_node.info);
760 old_node.status = FunctionStatus.DAMAGED;
761 old_node.status_explanation = why_wrong_expectations;
764 old_node.unmatched_new_nodes = unmatched_new_nodes_list;
765 old_node.textually_unmatched_new_nodes =