Back to index

texmacs  1.0.7.15
Functions
packrat_serializer.cpp File Reference
#include "packrat_parser.hpp"
#include "analyze.hpp"
#include "drd_std.hpp"

Go to the source code of this file.

Functions

static path as_path (tree t)

Function Documentation

static path as_path ( tree  t) [static]

Definition at line 21 of file packrat_serializer.cpp.

                 {
  ASSERT (is_tuple (t), "invalid path");
  path p;
  int i, n= N(t);
  for (i=n-1; i>=0; i--)
    p= path (as_int (t[i]), p);
  return p;
}

Here is the call graph for this function: