From 1fdc150116cad39aae5c5da407c3312b47a59e3a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 17 Dec 2021 07:06:30 -0500 Subject: New upstream version 3.3.3+dfsg1. --- SQLiteStudio3/coreSQLiteStudio/parser/token.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'SQLiteStudio3/coreSQLiteStudio/parser/token.h') diff --git a/SQLiteStudio3/coreSQLiteStudio/parser/token.h b/SQLiteStudio3/coreSQLiteStudio/parser/token.h index 85c46c1..1088d9e 100644 --- a/SQLiteStudio3/coreSQLiteStudio/parser/token.h +++ b/SQLiteStudio3/coreSQLiteStudio/parser/token.h @@ -113,7 +113,7 @@ struct API_EXPORT Token /** * @brief Creates fully defined token. - * @param lemonType Lemon token ID to use (see sqlite2_parser.h and sqlite3_parser.h). + * @param lemonType Lemon token ID to use (see sqlite3_parser.h). * @param type Token type. * @param value Value of the token. * @param start Start position of the token (index of the first character in the query). @@ -198,6 +198,12 @@ struct API_EXPORT Token */ bool isSeparating() const; + /** + * @brief Tests whether the token represents meaningful type. + * @return true if token is meaningful, like a word, object, string, number, etc. Not comment, not whitespace, not context marker. + */ + bool isMeaningful() const; + /** * @brief Tests whether this token is representing any kind of database object name. * @return true if the token is the name an object, or false otherwise. -- cgit v1.2.3