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

NontermFixAlgo Class Reference

Inheritance diagram for NontermFixAlgo:

Inheritance graph
[legend]
Collaboration diagram for NontermFixAlgo:

Collaboration graph
[legend]
List of all members.

Public Methods

 NontermFixAlgo (ParserSpec &pSpec_)
virtual bool operator() (EbnfNode &n) throw (EbnfNodeAlgoException)

Private Attributes

ParserSpecpSpec

Detailed Description

This algorithm makes the nonterm field of each EbnfNonterminalNode to point to the root node of the expansion of the referred nonterminal (which may be NULL if the referred production has only user code).

Definition at line 121 of file lanalyzer.cc.


Constructor & Destructor Documentation

NontermFixAlgo::NontermFixAlgo ( ParserSpec & pSpec_ ) [inline]
 

Definition at line 125 of file lanalyzer.cc.


Member Function Documentation

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

This gets called for each EBNF node during the traversal.

Reimplemented from EbnfNodeAlgo.

Definition at line 128 of file lanalyzer.cc.


Member Data Documentation

ParserSpec & NontermFixAlgo::pSpec [private]
 

Definition at line 146 of file lanalyzer.cc.


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