46 #ifndef TREE_REINDEX_HPP 47 #define TREE_REINDEX_HPP 83 void print(std::ostream& os)
const;
114 GETID(actual_tree_node)
This class manages the tree structures extracted from the raw file.
This class is used to perform the re-index of all tree nodes.
Abstract pure class for the tree structure.
#define GET_KIND(meth)
Macro which define a function that return the parameter as a enum kind.
const tree_nodeRef & actual_tree_node
Represent the actual reference to the tree_node.
#define GET_KIND_TEXT(meth)
Macro which defines the get_kind_text function that returns the parameter as a string.
Classes specification of the tree_node data structures.
functor used to correctly compare two tree_reindex
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
tree_reindex(const unsigned int ind, const tree_nodeRef &tn)
Private constructor with index initialization It can be accesses only by tree_manager.
void print(std::ostream &os) const
function that prints the class tree_reindex.
x
Return the smallest n such that 2^n >= _x.
static void enable_html()
Redefinition of get_tree_node_kind_text.
void visit(tree_node_visitor *const v) const override
virtual function used to traverse the tree_node data structure.