date and boolean data types added

This commit is contained in:
2021-08-06 22:46:48 +02:00
parent 4b95be1e31
commit 15a065c2aa
17 changed files with 1123 additions and 907 deletions

View File

@@ -47,6 +47,8 @@ namespace usql {
keyword_integer,
keyword_float,
keyword_varchar,
keyword_date,
keyword_bool,
keyword_distinct,
int_number,
double_number,
@@ -103,7 +105,7 @@ namespace usql {
private:
TokenType type(const std::string &token);
std::string stringLiteral(std::string token);
static std::string stringLiteral(std::string token);
static std::string typeToString(TokenType token_type);