OccMarkup Class Reference

Occurences Markup of a root tree. More...

#include <occurences.hh>

List of all members.

Public Member Functions

void mark (Tree root)
 start markup of root tree with new unique key
Occurences * retrieve (Tree t)
 occurences of subtree t within root tree

Private Member Functions

void incOcc (Tree env, int v, int r, int d, Tree t)
 inc the occurence of t in context v,r
Occurences * getOcc (Tree t)
 get Occurences property of t or null
void setOcc (Tree t, Occurences *occ)
 set Occurences property of t

Private Attributes

Tree fRootTree
 occurences computed within this tree
Tree fPropKey
 key used to store occurences property


Detailed Description

Occurences Markup of a root tree.

First create an OccMarkup om, second om.mark(root) then om.retrieve(subtree)

Definition at line 30 of file occurences.hh.


The documentation for this class was generated from the following files:

Generated on Sun Mar 22 16:24:31 2009 for FAUST compiler by  doxygen 1.5.7.1