#include <DDLParserBase.h>
Inherits DDLScanner.
Inheritance diagram for DDLParser:
This class represents a DDL parser. This class utilizes flex/bison for syntax/semantic processing and stores the parsed data (DDL blocks and tables) in a DdlFile object.
DDLParser::DDLParser | ( | DdlFile * | ddlFileP, | |
bool | verbose = false | |||
) |
Constructs a DDL parser.
[in] | ddlFileP | - pointer to the DdlFile object that the DDL parser is to use to store the parsed data |
[in] | verbose | - optional parameter that indicates whether parsing logging should be turned on (if true) or off (if false). If verbose is not spefified, logging is turned off. |
EmptyValueException | - if ddlFileP is NULL |
DDLParser::~DDLParser | ( | ) | [virtual] |
Destructs a DDL parser by releasing all the used resources.
Not applicable |
None |
void DDLParser::Parse | ( | const string & | fileName, | |
string & | diagnostics | |||
) |
Parses the DDL file.
[in] | fileName | - relative or absolute name of the DDL file that is to be parsed. |
[out] | diagnostics | - parsing result. If empty, parsing completed with no warnings or errors. If non-empty, there were parsing warnings and/or parsing errors. |
None |
void DDLParser::Clear | ( | ) |
Method, not currently part of users public API, and will soon be re-examined.
Reimplemented from DDLScanner.
void DDLParser::Error | ( | const char * | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::Reset | ( | ) |
Method, not currently part of users public API, and will soon be re-examined.
Reimplemented from DDLScanner.
void DDLParser::ProcessLoopDeclaration | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemNameList | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessValueList | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemValuePair | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessLoopDeclarationSave | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemNameListSave | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessValueListSave | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemValuePairSave | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessAssignments | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessOneAssignment | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemNameListLoop | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemNameListName | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessValueListItem | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemName | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessLoop | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessItemValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessLsItemValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessUnknownValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessMissingValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessSaveBegin | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessSaveEnd | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
void DDLParser::ProcessDataBlockName | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
string DDLParser::_uString [private] |
string DDLParser::_mString [private] |
DdlFile* DDLParser::_fobj [private] |
ISTable* DDLParser::_tbl [private] |
int DDLParser::_afterLoop [private] |
DdlFile* DDLParser::_saveobj [private] |
ISTable* DDLParser::_savetbl [private] |
ISTable* DDLParser::format [private] |
int DDLParser::_nTablesInBlock [private] |
int DDLParser::_curItemNo [private] |
int DDLParser::_curValueNo [private] |
int DDLParser::_numDataBlocks [private] |
int DDLParser::_fieldListAlloc [private] |
int DDLParser::_curRow [private] |
int DDLParser::_curCol [private] |
vector<string> DDLParser::_fieldList [private] |
string DDLParser::_pBufValue [private] |
vector<string>* DDLParser::_rowBuf [private] |
string DDLParser::_tBufKeyword [private] |
string DDLParser::_curCategoryName [private] |
string DDLParser::_curDataBlockName [private] |
string DDLParser::_prevDataBlockName [private] |
int DDLParser::_nTablesInBlockSave [private] |
int DDLParser::_curItemNoSave [private] |
int DDLParser::_curValueNoSave [private] |
int DDLParser::_numDataBlocksSave [private] |
int DDLParser::_fieldListAllocSave [private] |
int DDLParser::_curRowSave [private] |
int DDLParser::_curColSave [private] |
vector<string> DDLParser::_fieldListSave [private] |
vector<string>* DDLParser::_rowBufSave [private] |
string DDLParser::_curCategoryNameSave [private] |
string DDLParser::_curDataBlockNameSave [private] |
string DDLParser::_prevDataBlockNameSave [private] |
string DDLParser::errorLog [private] |