version 1.1.2.3, 2001/12/03 00:08:00
|
version 1.3, 2002/01/11 17:41:59
|
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
/** This is an internal structure used for holding parser state information |
|
during parsing (while inside the WQLParser::parse() method). Instances |
|
of this class are created and destroyed by WQLParser::parse(). |
|
*/ |
struct WQLParserState | struct WQLParserState |
{ | { |
WQLParserState() { } |
|
|
|
// | // |
// Text containing SELECT statement (must be null-terminated). | // Text containing SELECT statement (must be null-terminated). |
// | // |
| |
Array<Sint8> text; |
const char* text; |
|
|
|
// |
|
// Size in bytes (including null terminator) of the text. |
|
// |
|
|
|
Uint32 textSize; |
| |
// | // |
// Offset to current parser position in the above text. | // Offset to current parser position in the above text. |
|
|
Uint32 offset; | Uint32 offset; |
| |
// | // |
// The output object being initialized during parsing. |
// The output object being initialized during parsing. This object is |
|
// set to point to the statment argument passed to the WQLParser::parse() |
|
// method. |
// | // |
| |
WQLSelectStatement* statement; | WQLSelectStatement* statement; |