From 5d9314f134ddd3dc4c853e398ac90ba247fb2e4f Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 13 Jun 2016 18:42:42 -0400 Subject: Imported Upstream version 3.1.0 --- SQLiteStudio3/coreSQLiteStudio/parser/lexer.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'SQLiteStudio3/coreSQLiteStudio/parser/lexer.h') diff --git a/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h b/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h index b21639e..8473844 100644 --- a/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h +++ b/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h @@ -128,6 +128,15 @@ class API_EXPORT Lexer */ static QString detokenize(const TokenList& tokens); + /** + * @brief Translates token to string propert representation. + * @param token Token to translate. + * @return Translated string. + * + * This method applies wrappers where needed (for strings and ids). + */ + static QString detokenize(const TokenPtr& token); + /** * @brief Tokenizes given SQL query with given dialect. * @param sql SQL query to tokenize. -- cgit v1.2.3