Switching to linux for development of pglab.

Switched from qmake to cmake. Code changes to make it compile.
This commit is contained in:
Eelke Klein 2017-08-23 08:10:01 +02:00
parent dd9906dbd8
commit 04723a289b
142 changed files with 124 additions and 83 deletions

30
pglab/sqlparser.cpp Normal file
View file

@ -0,0 +1,30 @@
#include "sqlparser.h"
/** Responsible for splitting the query into logical elements.
*
* It first uses common seperators to split the input, then it tries
* to determine if the fields it gets have a special meaning.
*
* However because SQL is very forgiving about the use of keywords
* as names.
*
* The lexical analyzer does however distinguish between
* - symbols/keywords (symbols might be schema, table, columns, functions etc)
* - numbers
* - strings
* - quoted symbol (a symbol between "" must be the name of something)
*
* seperators
* whitespace
* special chars ;,.
* operators
*/
class LexicalAnalyser {
public:
};
SqlParser::SqlParser()
{
}