#include <Parser.h>
Inheritance diagram for Parser:


Public Member Functions | |
| Parser () | |
| Ctor. | |
| virtual | ~Parser () |
| Dtor. | |
| virtual bool | Parse () |
| Perform the parse. | |
| virtual void | Debug (bool arg) |
| Specify the state of the debug flag. | |
| void | DebugOn () |
| Turn debugging on. | |
| void | DebugOff () |
| Turn debugging off. | |
Protected Member Functions | |
| int | Yyparse () |
| The native routine that does the actual parsing. | |
Protected Attributes | |
| bool | debug |
| Debug flag. | |
These parsers may use Bison and Lex routines to do the actual parsing. Objects of this class do nothing.
Definition at line 17 of file C++/Common/Parser/Parser.h.
| Parser::Parser | ( | ) |
Ctor.
| virtual Parser::~Parser | ( | ) | [virtual] |
Dtor.
| virtual bool Parser::Parse | ( | ) | [virtual] |
Perform the parse.
Reimplemented in CommonEnviromentParser, and FileParser.
| virtual void Parser::Debug | ( | bool | arg | ) | [virtual] |
Specify the state of the debug flag.
| arg | The proposed state of the debug flag. |
| void Parser::DebugOn | ( | ) |
Turn debugging on.
| void Parser::DebugOff | ( | ) |
Turn debugging off.
| int Parser::Yyparse | ( | ) | [protected] |
The native routine that does the actual parsing.
This routine will usually ultimately be the "yyparse()" generated by bison.
bool Parser::debug [protected] |