Back to index

texmacs  1.0.7.15
Functions | Variables
inittex.cpp File Reference
#include "Tex/convert_tex.hpp"
#include "rel_hashmap.hpp"
#include "scheme.hpp"

Go to the source code of this file.

Functions

static string latex_type_func (string s)
static int latex_arity_func (string s)
string latex_type (string s)
int latex_arity (string s)

Variables

hashfunc< string, stringlatex_std_type (latex_type_func,"undefined")
hashfunc< string, int > latex_std_arity (latex_arity_func, 0)
rel_hashmap< string, stringcommand_type ("undefined")
rel_hashmap< string, int > command_arity (0)
rel_hashmap< string, stringcommand_def ("undefined")

Function Documentation

int latex_arity ( string  s)

Definition at line 40 of file inittex.cpp.

                       {
  if (command_arity->contains (s)) return command_arity[s];
  else return latex_std_arity [s];
}

Here is the caller graph for this function:

static int latex_arity_func ( string  s) [static]

Definition at line 22 of file inittex.cpp.

                            {
  return as_int (call ("latex-arity", s));
}

Here is the call graph for this function:

Definition at line 34 of file inittex.cpp.

                      {
  if (command_type->contains (s)) return command_type[s];
  else return latex_std_type [s];
}

Here is the caller graph for this function:

static string latex_type_func ( string  s) [static]

Definition at line 17 of file inittex.cpp.

                           {
  return as_string (call ("latex-type", s));
}

Here is the call graph for this function:


Variable Documentation