Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
ReNodeAlgo Class Reference
Inheritance diagram for ReNodeAlgo:
[legend]List of all members.
This is the generic regexp parse tree tree traversal interface. In order to do something useful with a parse tree, implement this class and call ReNode::dfTraverse on the root of the parse tree with an object of the implementing class as argument.
Definition at line 49 of file re_node_algo.hh.
Member Function Documentation
bool ReNodeAlgo::operator() (
ReNode & n )
This gets called for each regexp node during the traversal. If for some reason continuing the traversal becomes unnecessary, the operator should return false. If it should continue with the rest of the unvisited nodes, it should return true.
Reimplemented in LeafNumberGen, FollowPosGen, LeafFinder, and AttributeGen.
The documentation for this class was generated from the following file:
Generated at Tue Jul 9 21:08:22 2002 for CppCC by
18.104.22.168 written by Dimitri van Heesch,