Back to index

texmacs  1.0.7.15
Classes | Functions
bridge_auto.cpp File Reference
#include "bridge.hpp"

Go to the source code of this file.

Classes

class  bridge_auto_rep

Functions

tree insert_at (tree, path, tree)
tree remove_at (tree, path, int)
bridge bridge_auto (typesetter ttt, tree st, path ip, tree f, bool border)

Function Documentation

bridge bridge_auto ( typesetter  ttt,
tree  st,
path  ip,
tree  f,
bool  border 
)

Definition at line 59 of file bridge_auto.cpp.

                                                                    {
  return tm_new<bridge_auto_rep> (ttt, st, ip, f, border);
}

Here is the caller graph for this function:

tree insert_at ( tree  ,
path  ,
tree   
)

Definition at line 48 of file bridge_default.cpp.

                                   {
  if (is_atom (p)) {
    if (is_atomic (t)) {
      ASSERT (is_atomic (u), "two atoms expected");
      return t->label (0, p->item) *u->label* t->label (p->item, N(t->label));
    }
    else return (t (0, p->item) * u) * t (p->item, N(t));
  }
  else return substitute (t, p->item, insert_at (t[p->item], p->next, u));
}

Here is the caller graph for this function:

tree remove_at ( tree  ,
path  ,
int   
)

Definition at line 60 of file bridge_default.cpp.

                                   {
  if (is_atom (p)) {
    if (is_atomic (t))
      return t->label (0, p->item) * t->label (p->item+nr, N(t->label));
    else return t (0, p->item) * t (p->item+nr, N(t));
  }
  else return substitute (t, p->item, remove_at (t[p->item], p->next, nr));
}

Here is the caller graph for this function: