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

EbnfNodeAlgo Class Reference

#include <ebnf_node_algo.hh>

Inheritance diagram for EbnfNodeAlgo:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual bool operator() (EbnfNode &n)=0 throw (EbnfNodeAlgoException)

Detailed Description

This is the generic EBNF parse tree tree traversal interface. In order to do something useful with a parse tree, implement this interface's () operator and call EbnfNode::dfTraverse or EbnfNode::rdfTraverse on the root of the parse tree with an object of the implementing class as argument.

Definition at line 100 of file ebnf_node_algo.hh.


Member Function Documentation

bool EbnfNodeAlgo::operator() ( EbnfNode & n ) throw (EbnfNodeAlgoException) [pure virtual]
 

This gets called for each EBNF node during the traversal.

Reimplemented in LaEpDeclWriter, LaEpDefWriter, ColourResetAlgo, LaNumberingAlgo, NontermFixAlgo, LRecDetectAlgo, EbnfNullableCompAlgo, EbnfFirstCompAlgo, EbnfFollowCompAlgo, and EbnfLl1CheckAlgo.


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