Back to index

Functions | Variables
tree_label.cpp File Reference
#include "tree_label.hpp"
#include "hashmap.hpp"

Go to the source code of this file.


void make_tree_label (tree_label l, string s)
tree_label make_tree_label (string s)
string as_string (tree_label l)
tree_label as_tree_label (string s)
bool existing_tree_label (string s)


hashmap< int, stringCONSTRUCTOR_NAME ("?")
hashmap< string, int > CONSTRUCTOR_CODE (UNKNOWN)
static tree_label next_tree_label = START_EXTENSIONS

Function Documentation

Definition at line 45 of file tree_label.cpp.

  return CONSTRUCTOR_NAME[(int) l];

Definition at line 50 of file tree_label.cpp.

  return (tree_label) CONSTRUCTOR_CODE[s];

Here is the caller graph for this function:

Definition at line 55 of file tree_label.cpp.

  return CONSTRUCTOR_CODE->contains (s);

Here is the caller graph for this function:

void make_tree_label ( tree_label  l,
string  s 

Definition at line 25 of file tree_label.cpp.

  CONSTRUCTOR_NAME ((int) l) = s;
  CONSTRUCTOR_CODE (s)       = (int) l;

Definition at line 31 of file tree_label.cpp.

  if (CONSTRUCTOR_CODE->contains (s))
    return (tree_label) CONSTRUCTOR_CODE[s];
  tree_label l= next_tree_label;
  next_tree_label= (tree_label) (((int) next_tree_label) + 1);
  make_tree_label (l, s);
  return l;

Here is the call graph for this function:

Variable Documentation

Definition at line 22 of file tree_label.cpp.