Back to index

texmacs  1.0.7.15
Functions
clean_copy.cpp File Reference
#include "clean_copy.hpp"

Go to the source code of this file.

Functions

void copy_ip (tree src, tree dest)
void copy_announce (tree src, tree &cct, modification mod)

Function Documentation

void copy_announce ( tree  src,
tree cct,
modification  mod 
)

Definition at line 37 of file clean_copy.cpp.

                                                      {
  //cout << "Announce copy " << mod << "\n";
  cct= clean_apply (cct, mod);
  copy_ip (src, cct);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void copy_ip ( tree  src,
tree  dest 
)

Definition at line 19 of file clean_copy.cpp.

                              {
  path src_ip= obtain_ip (src);
  path dest_ip= obtain_ip (dest);
  if (dest_ip != src_ip) {
    dest->obs= list_observer (ip_observer (src_ip), dest->obs);
    if (is_compound (src)) {
      int i, n= N(src);
      for (i=0; i<n; i++)
       copy_ip (src[i], dest[i]);
    }
  }
}

Here is the call graph for this function:

Here is the caller graph for this function: