Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AttributeGen Class Reference

Inheritance diagram for AttributeGen:

Inheritance graph
[legend]
Collaboration diagram for AttributeGen:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual bool operator() (ReNode &n)

Detailed Description

Computes the firstpos and lastpos sets for each node. The bitvectors that represents the sets will have a 1 at position i if the leaf node with position i belongs to the set.

Definition at line 182 of file basic_dfa_generator.cc.


Member Function Documentation

bool AttributeGen::operator() ( ReNode & n ) [inline, virtual]
 

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 from ReNodeAlgo.

Definition at line 186 of file basic_dfa_generator.cc.


The documentation for this class was generated from the following file:
Generated at Tue Jul 9 21:05:51 2002 for CppCC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001