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
Collaboration diagram for NontermFixAlgo:

Collaboration graph
List of all members.

Public Methods

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

Private Attributes


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

Constructor & Destructor Documentation

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

Definition at line 125 of file

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

Member Data Documentation

ParserSpec & NontermFixAlgo::pSpec [private]

Definition at line 146 of file

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