|
xale-db 1.0
minimal SQL engine, written in c++
|
#include <string>#include <unordered_set>

Go to the source code of this file.
Classes | |
| struct | Xale::Query::Token |
| Token struct defined by type, value and pos. More... | |
Namespaces | |
| namespace | Xale |
| namespace | Xale::Query |
Macros | |
| #define | DECLARE_TOKENS(name, ...) |
Enumerations | |
| enum class | Xale::Query::TokenType { Xale::Query::DefinitionKeyword , Xale::Query::ManipulationKeyword , Xale::Query::QueryKeyword , Xale::Query::JoinKeyword , Xale::Query::LogicalKeyword , Xale::Query::Operator , Xale::Query::Identifier , Xale::Query::StringLiteral , Xale::Query::NumericLiteral , Xale::Query::EndOfInput , Xale::Query::Unknown } |
| Types of possible tokens. More... | |
Functions | |
| Xale::Query::DECLARE_TOKENS (sql_definition_kw, "CREATE", "ALTER", "DROP", "LIST") | |
| Xale::Query::DECLARE_TOKENS (sql_manipulation_kw, "SELECT", "INSERT", "UPDATE", "DELETE") | |
| Xale::Query::DECLARE_TOKENS (sql_query_kw, "FROM", "WHERE") | |
| Xale::Query::DECLARE_TOKENS (sql_join_kw, "JOIN", "LEFT", "RIGHT") | |
| Xale::Query::DECLARE_TOKENS (sql_logical_kw, "AND", "OR", "NOT") | |
| Xale::Query::DECLARE_TOKENS (sql_operators, "*", ",", "(", ")", "=", "!=", "<", ">", "<=", ">=") | |
| Xale::Query::DECLARE_TOKENS (sql_end_query, ";") | |
| const std::string | Xale::Query::to_string (TokenType type) |
| Convert TokenType to string. | |
| #define DECLARE_TOKENS | ( | name, | |
| ... ) |