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

EbnfFirstCompAlgo Class Reference

Inheritance diagram for EbnfFirstCompAlgo:

Inheritance graph
[legend]
Collaboration diagram for EbnfFirstCompAlgo:

Collaboration graph
[legend]
List of all members.

Public Methods

 EbnfFirstCompAlgo (int maxToken_)
virtual bool operator() (EbnfNode &n) throw (EbnfNodeAlgoException)

Private Attributes

int maxToken

Detailed Description

This algorithm computes the FIRST set for each node in an expansion.

Definition at line 418 of file lanalyzer.cc.


Constructor & Destructor Documentation

EbnfFirstCompAlgo::EbnfFirstCompAlgo ( int maxToken_ ) [inline]
 

Definition at line 422 of file lanalyzer.cc.


Member Function Documentation

bool EbnfFirstCompAlgo::operator() ( EbnfNode & n ) throw (EbnfNodeAlgoException) [inline, virtual]
 

This gets called for each EBNF node during the traversal.

Reimplemented from EbnfNodeAlgo.

Definition at line 425 of file lanalyzer.cc.


Member Data Documentation

int EbnfFirstCompAlgo::maxToken [private]
 

Definition at line 496 of file lanalyzer.cc.


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