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

CppCcDriver Class Reference

#include <cppcc_driver.hh>

List of all members.

Public Methods

 CppCcDriver ()
bool run (PropRegistry &registry)

Detailed Description

This is the driver class of CppCC. It instantiates the parser, the parse tree roots and runs all the stages needed to generate the scanner and parser sources.

Definition at line 50 of file cppcc_driver.hh.

Constructor & Destructor Documentation

CppCcDriver::CppCcDriver ( ) [inline]

Creates a new CppCcDriver object. Although this class is not singleton, a single instance can be used because CppCcDriver in its turn uses a LexYaccParser instance, and LexYaccParser IS a singleton.

Definition at line 59 of file cppcc_driver.hh.

Member Function Documentation

bool CppCcDriver::run ( PropRegistry & registry )

By calling this method the whole process of parsing/processing/generating code is run. The method does not return until all the stages have been completed and the C++ sources were generated.

If this method ever returns, its return value indicates the success status of the whole thing. However, it may die() in several places.

Definition at line 73 of file

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