parser_p.cpp File Reference
#include "parser_p.h"
#include "sqlparser.h"
#include <kdebug.h>
#include <klocale.h>
#include <qregexp.h>
#include <assert.h>
Go to the source code of this file.
Defines | |
| #define | IMPL_ERROR(errmsg) setError("Implementation error", errmsg) |
| #define | CLEANUP |
| clean up no longer needed temporary objects | |
Functions | |
| int | yyparse () |
| void | tokenize (const char *data) |
| void | yyerror (const char *str) |
| void | setError (const QString &errName, const QString &errDesc) |
| void | setError (const QString &errDesc) |
| bool | parseData (Parser *p, const char *data) |
| bool | addColumn (ParseInfo &parseInfo, BaseExpr *columnExpr) |
| QuerySchema * | buildSelectQuery (QuerySchema *querySchema, NArgExpr *colViews, NArgExpr *tablesList, SelectOptionsInternal *options) |
Variables | |
| Parser * | parser |
| Field * | field |
| QPtrList< Field > | fieldList |
| int | current = 0 |
| QString | ctoken = "" |
Define Documentation
|
|
Value: delete colViews; \ delete tablesList; \ delete options
Definition at line 397 of file parser_p.cpp. Referenced by buildSelectQuery(). |
|
|
Definition at line 165 of file parser_p.cpp. |
Function Documentation
|
||||||||||||
|
||||||||||||||||||||
|
||||||||||||
|
Definition at line 167 of file parser_p.cpp. References KexiDB::Parser::clear(), current, KexiDB::Parser::error(), KexiDBDbg, KexiDB::Parser::OP_Select, KexiDB::Parser::operation(), KexiDB::Parser::setError(), tokenize(), yyerror(), and yyparse(). Referenced by KexiDB::Parser::parse(). |
|
|
Definition at line 159 of file parser_p.cpp. |
|
||||||||||||
|
Definition at line 153 of file parser_p.cpp. Referenced by addColumn(), buildSelectQuery(), and setError(). |
|
|
Referenced by parseData(). |
|
|
Definition at line 81 of file parser_p.cpp. References current, KexiDB::Parser::error(), KexiDB::Parser::isReservedKeyword(), KexiDBDbg, KexiDB::Parser::OP_Error, KexiDB::Parser::setError(), KexiDB::Parser::setOperation(), and KexiDB::Parser::statement(). Referenced by parseData(), setError(), and yyparse(). |
|
Variable Documentation
|
|
Definition at line 37 of file parser_p.cpp. |
|
|
Definition at line 36 of file parser_p.cpp. Referenced by KFormDesigner::EditListViewDialog::MoveItemDown(), KFormDesigner::EditListViewDialog::MoveItemUp(), parseData(), KFormDesigner::EditListViewDialog::removeItem(), setError(), and yyerror(). |
|
|
|
Definition at line 35 of file parser_p.cpp. |
|
|
Definition at line 32 of file parser_p.cpp. Referenced by KexiQueryPart::loadSchemaData(), KexiQueryDesignerSQLView::slotCheckQuery(), and yyparse(). |
