summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppdoxygen.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2016-03-30 15:45:37 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2016-03-31 11:45:39 +0000
commit6ed1a2b3c80c99ee568534b7f6ca62ac29f60aa9 (patch)
treed498e52c2e2bb4aca54c9c09a2888a29afec56b5 /src/plugins/cpptools/cppdoxygen.cpp
parentbe32cdc6707a82f0353d0fcc2a18e554c26cef08 (diff)
downloadqt-creator-6ed1a2b3c80c99ee568534b7f6ca62ac29f60aa9.tar.gz
CppTools: Rewrite cppdoxygen.cpp with cplusplus-keywordgen
Braces all over the place since the tool does not respect the coding style and cppdoxygen.cpp was changed with regard to the braces coding style in the meantime: commit 29a93998df8405e8799ad23934a56cd99fb36403 Remove braces for single lines of conditions Next step is to use the tool for updating the qdoc/doxygen keywords. Change-Id: Ib95b5991ebd794d144848ae052fa7f28a6d10850 Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cpptools/cppdoxygen.cpp')
-rw-r--r--src/plugins/cpptools/cppdoxygen.cpp658
1 files changed, 444 insertions, 214 deletions
diff --git a/src/plugins/cpptools/cppdoxygen.cpp b/src/plugins/cpptools/cppdoxygen.cpp
index 64a92c4c55..d74446e77d 100644
--- a/src/plugins/cpptools/cppdoxygen.cpp
+++ b/src/plugins/cpptools/cppdoxygen.cpp
@@ -23,6 +23,24 @@
**
****************************************************************************/
+//
+// W A R N I N G
+// -------------
+//
+// Main parts of this file are generated by "cplusplus-keywordgen".
+// Use the tool to update new keywords/identifiers:
+//
+// 1. Update the input file cppdoxygen.kwgen with new keywords/identifiers.
+// 2. Run the tool with the input file:
+// $ INPUT_FILE=${QTC_SOURCE}/src/plugins/cpptools/cppdoxygen.kwgen
+// $ OUTPUT_FILE=/tmp/new.cpp
+// $ TOOL=${QTC_BUILD}/bin/cplusplus-keywordgen
+// $ cat $INPUT_FILE | $TOOL > $OUTPUT_FILE
+// 3. Copy over the classify* functions from $OUTPUT_FILE to this file,
+// update the doxy_token_spell array in this file and the enums in the
+// header.
+//
+
#include "cppdoxygen.h"
#include <QString>
@@ -262,51 +280,66 @@ const char *CppTools::doxygenTagSpell(int index)
{ return doxy_token_spell[index]; }
static inline int classify1(const QChar *s) {
- if (s[0].unicode() == 'a')
+ if (s[0].unicode() == 'a') {
return T_DOXY_A;
- else if (s[0].unicode() == 'b')
+ }
+ else if (s[0].unicode() == 'b') {
return T_DOXY_B;
- else if (s[0].unicode() == 'c')
+ }
+ else if (s[0].unicode() == 'c') {
return T_DOXY_C;
- else if (s[0].unicode() == 'e')
+ }
+ else if (s[0].unicode() == 'e') {
return T_DOXY_E;
- else if (s[0].unicode() == 'i')
+ }
+ else if (s[0].unicode() == 'i') {
return T_DOXY_I;
- else if (s[0].unicode() == 'l')
+ }
+ else if (s[0].unicode() == 'l') {
return T_DOXY_L;
- else if (s[0].unicode() == 'n')
+ }
+ else if (s[0].unicode() == 'n') {
return T_DOXY_N;
- else if (s[0].unicode() == 'o')
+ }
+ else if (s[0].unicode() == 'o') {
return T_DOXY_O;
- else if (s[0].unicode() == 'p')
+ }
+ else if (s[0].unicode() == 'p') {
return T_DOXY_P;
+ }
return T_DOXY_IDENTIFIER;
}
static inline int classify2(const QChar *s) {
if (s[0].unicode() == 'e') {
- if (s[1].unicode() == 'm')
+ if (s[1].unicode() == 'm') {
return T_DOXY_EM;
+ }
}
else if (s[0].unicode() == 'f') {
- if (s[1].unicode() == 'n')
+ if (s[1].unicode() == 'n') {
return T_DOXY_FN;
+ }
}
else if (s[0].unicode() == 'i') {
- if (s[1].unicode() == 'f')
+ if (s[1].unicode() == 'f') {
return T_DOXY_IF;
+ }
}
else if (s[0].unicode() == 'l') {
- if (s[1].unicode() == 'i')
+ if (s[1].unicode() == 'i') {
return T_DOXY_LI;
+ }
}
else if (s[0].unicode() == 's') {
- if (s[1].unicode() == 'a')
+ if (s[1].unicode() == 'a') {
return T_DOXY_SA;
+ }
}
else if (s[0].unicode() == 't') {
- if (s[1].unicode() == 't')
+ if (s[1].unicode() == 't') {
return T_DOXY_TT;
+ }
}
return T_DOXY_IDENTIFIER;
}
@@ -314,86 +347,103 @@ static inline int classify2(const QChar *s) {
static inline int classify3(const QChar *s) {
if (s[0].unicode() == 'a') {
if (s[1].unicode() == 'r') {
- if (s[2].unicode() == 'g')
+ if (s[2].unicode() == 'g') {
return T_DOXY_ARG;
+ }
}
}
else if (s[0].unicode() == 'b') {
if (s[1].unicode() == 'u') {
- if (s[2].unicode() == 'g')
+ if (s[2].unicode() == 'g') {
return T_DOXY_BUG;
+ }
}
}
else if (s[0].unicode() == 'd') {
if (s[1].unicode() == 'e') {
- if (s[2].unicode() == 'f')
+ if (s[2].unicode() == 'f') {
return T_DOXY_DEF;
+ }
}
else if (s[1].unicode() == 'o') {
- if (s[2].unicode() == 't')
+ if (s[2].unicode() == 't') {
return T_DOXY_DOT;
+ }
}
}
else if (s[0].unicode() == 'g') {
if (s[1].unicode() == 'u') {
- if (s[2].unicode() == 'i')
+ if (s[2].unicode() == 'i') {
return T_DOXY_GUI;
+ }
}
}
else if (s[0].unicode() == 'p') {
if (s[1].unicode() == 'a') {
- if (s[2].unicode() == 'r')
+ if (s[2].unicode() == 'r') {
return T_DOXY_PAR;
+ }
}
else if (s[1].unicode() == 'r') {
- if (s[2].unicode() == 'e')
+ if (s[2].unicode() == 'e') {
return T_DOXY_PRE;
+ }
}
}
else if (s[0].unicode() == 'r') {
if (s[1].unicode() == 'a') {
- if (s[2].unicode() == 'w')
+ if (s[2].unicode() == 'w') {
return T_DOXY_RAW;
+ }
}
else if (s[1].unicode() == 'e') {
- if (s[2].unicode() == 'f')
+ if (s[2].unicode() == 'f') {
return T_DOXY_REF;
+ }
}
else if (s[1].unicode() == 'o') {
- if (s[2].unicode() == 'w')
+ if (s[2].unicode() == 'w') {
return T_DOXY_ROW;
+ }
}
}
else if (s[0].unicode() == 's') {
if (s[1].unicode() == 'e') {
- if (s[2].unicode() == 'e')
+ if (s[2].unicode() == 'e') {
return T_DOXY_SEE;
+ }
}
else if (s[1].unicode() == 'q') {
- if (s[2].unicode() == 'l')
+ if (s[2].unicode() == 'l') {
return T_DOXY_SQL;
+ }
}
else if (s[1].unicode() == 'u') {
- if (s[2].unicode() == 'b')
+ if (s[2].unicode() == 'b') {
return T_DOXY_SUB;
- else if (s[2].unicode() == 'p')
+ }
+ else if (s[2].unicode() == 'p') {
return T_DOXY_SUP;
+ }
}
else if (s[1].unicode() == 'v') {
- if (s[2].unicode() == 'g')
+ if (s[2].unicode() == 'g') {
return T_DOXY_SVG;
+ }
}
}
else if (s[0].unicode() == 'v') {
if (s[1].unicode() == 'a') {
- if (s[2].unicode() == 'r')
+ if (s[2].unicode() == 'r') {
return T_DOXY_VAR;
+ }
}
}
else if (s[0].unicode() == 'x') {
if (s[1].unicode() == 'm') {
- if (s[2].unicode() == 'l')
+ if (s[2].unicode() == 'l') {
return T_DOXY_XML;
+ }
}
}
return T_DOXY_IDENTIFIER;
@@ -403,146 +453,168 @@ static inline int classify4(const QChar *s) {
if (s[0].unicode() == 'b') {
if (s[1].unicode() == 'o') {
if (s[2].unicode() == 'l') {
- if (s[3].unicode() == 'd')
+ if (s[3].unicode() == 'd') {
return T_DOXY_BOLD;
+ }
}
}
}
else if (s[0].unicode() == 'c') {
if (s[1].unicode() == 'o') {
if (s[2].unicode() == 'd') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_CODE;
+ }
}
else if (s[2].unicode() == 'n') {
- if (s[3].unicode() == 'd')
+ if (s[3].unicode() == 'd') {
return T_DOXY_COND;
+ }
}
}
}
else if (s[0].unicode() == 'd') {
if (s[1].unicode() == 'a') {
if (s[2].unicode() == 't') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_DATE;
+ }
}
}
else if (s[1].unicode() == 'o') {
if (s[2].unicode() == 't') {
- if (s[3].unicode() == 's')
+ if (s[3].unicode() == 's') {
return T_DOXY_DOTS;
+ }
}
}
}
else if (s[0].unicode() == 'e') {
if (s[1].unicode() == 'l') {
if (s[2].unicode() == 's') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_ELSE;
+ }
}
}
else if (s[1].unicode() == 'n') {
if (s[2].unicode() == 'u') {
- if (s[3].unicode() == 'm')
+ if (s[3].unicode() == 'm') {
return T_DOXY_ENUM;
+ }
}
}
}
else if (s[0].unicode() == 'f') {
if (s[1].unicode() == 'i') {
if (s[2].unicode() == 'l') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_FILE;
+ }
}
}
}
else if (s[0].unicode() == 'l') {
if (s[1].unicode() == 'i') {
if (s[2].unicode() == 'n') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_LINE;
- else if (s[3].unicode() == 'k')
+ }
+ else if (s[3].unicode() == 'k') {
return T_DOXY_LINK;
+ }
}
else if (s[2].unicode() == 's') {
- if (s[3].unicode() == 't')
+ if (s[3].unicode() == 't') {
return T_DOXY_LIST;
+ }
}
}
}
else if (s[0].unicode() == 'm') {
if (s[1].unicode() == 'e') {
if (s[2].unicode() == 't') {
- if (s[3].unicode() == 'a')
+ if (s[3].unicode() == 'a') {
return T_DOXY_META;
+ }
}
}
}
else if (s[0].unicode() == 'n') {
if (s[1].unicode() == 'a') {
if (s[2].unicode() == 'm') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_NAME;
+ }
}
}
else if (s[1].unicode() == 'o') {
if (s[2].unicode() == 't') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_NOTE;
+ }
}
}
}
else if (s[0].unicode() == 'o') {
if (s[1].unicode() == 'm') {
if (s[2].unicode() == 'i') {
- if (s[3].unicode() == 't')
+ if (s[3].unicode() == 't') {
return T_DOXY_OMIT;
+ }
}
}
else if (s[1].unicode() == 'n') {
if (s[2].unicode() == 'l') {
- if (s[3].unicode() == 'y')
+ if (s[3].unicode() == 'y') {
return T_DOXY_ONLY;
+ }
}
}
}
else if (s[0].unicode() == 'p') {
if (s[1].unicode() == 'a') {
if (s[2].unicode() == 'g') {
- if (s[3].unicode() == 'e')
+ if (s[3].unicode() == 'e') {
return T_DOXY_PAGE;
+ }
}
else if (s[2].unicode() == 'r') {
- if (s[3].unicode() == 't')
+ if (s[3].unicode() == 't') {
return T_DOXY_PART;
+ }
}
}
else if (s[1].unicode() == 'o') {
if (s[2].unicode() == 's') {
- if (s[3].unicode() == 't')
+ if (s[3].unicode() == 't') {
return T_DOXY_POST;
+ }
}
}
}
else if (s[0].unicode() == 's') {
if (s[1].unicode() == 'k') {
if (s[2].unicode() == 'i') {
- if (s[3].unicode() == 'p')
+ if (s[3].unicode() == 'p') {
return T_DOXY_SKIP;
+ }
}
}
}
else if (s[0].unicode() == 't') {
if (s[1].unicode() == 'e') {
if (s[2].unicode() == 's') {
- if (s[3].unicode() == 't')
+ if (s[3].unicode() == 't') {
return T_DOXY_TEST;
+ }
}
}
else if (s[1].unicode() == 'o') {
if (s[2].unicode() == 'd') {
- if (s[3].unicode() == 'o')
+ if (s[3].unicode() == 'o') {
return T_DOXY_TODO;
+ }
}
}
}
@@ -554,8 +626,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'r') {
if (s[2].unicode() == 'i') {
if (s[3].unicode() == 'e') {
- if (s[4].unicode() == 'f')
+ if (s[4].unicode() == 'f') {
return T_DOXY_BRIEF;
+ }
}
}
}
@@ -564,8 +637,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'l') {
if (s[2].unicode() == 'a') {
if (s[3].unicode() == 's') {
- if (s[4].unicode() == 's')
+ if (s[4].unicode() == 's') {
return T_DOXY_CLASS;
+ }
}
}
}
@@ -574,8 +648,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'n') {
if (s[2].unicode() == 'd') {
if (s[3].unicode() == 'i') {
- if (s[4].unicode() == 'f')
+ if (s[4].unicode() == 'f') {
return T_DOXY_ENDIF;
+ }
}
}
}
@@ -584,8 +659,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'r') {
if (s[2].unicode() == 'o') {
if (s[3].unicode() == 'u') {
- if (s[4].unicode() == 'p')
+ if (s[4].unicode() == 'p') {
return T_DOXY_GROUP;
+ }
}
}
}
@@ -594,24 +670,27 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'f') {
if (s[2].unicode() == 'n') {
if (s[3].unicode() == 'o') {
- if (s[4].unicode() == 't')
+ if (s[4].unicode() == 't') {
return T_DOXY_IFNOT;
+ }
}
}
}
else if (s[1].unicode() == 'm') {
if (s[2].unicode() == 'a') {
if (s[3].unicode() == 'g') {
- if (s[4].unicode() == 'e')
+ if (s[4].unicode() == 'e') {
return T_DOXY_IMAGE;
+ }
}
}
}
else if (s[1].unicode() == 'n') {
if (s[2].unicode() == 'd') {
if (s[3].unicode() == 'e') {
- if (s[4].unicode() == 'x')
+ if (s[4].unicode() == 'x') {
return T_DOXY_INDEX;
+ }
}
}
}
@@ -620,8 +699,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'a') {
if (s[2].unicode() == 'c') {
if (s[3].unicode() == 'r') {
- if (s[4].unicode() == 'o')
+ if (s[4].unicode() == 'o') {
return T_DOXY_MACRO;
+ }
}
}
}
@@ -630,8 +710,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'a') {
if (s[2].unicode() == 'r') {
if (s[3].unicode() == 'a') {
- if (s[4].unicode() == 'm')
+ if (s[4].unicode() == 'm') {
return T_DOXY_PARAM;
+ }
}
}
}
@@ -640,8 +721,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'e') {
if (s[2].unicode() == 'i') {
if (s[3].unicode() == 'm') {
- if (s[4].unicode() == 'p')
+ if (s[4].unicode() == 'p') {
return T_DOXY_REIMP;
+ }
}
}
}
@@ -650,16 +732,18 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'h') {
if (s[2].unicode() == 'o') {
if (s[3].unicode() == 'r') {
- if (s[4].unicode() == 't')
+ if (s[4].unicode() == 't') {
return T_DOXY_SHORT;
+ }
}
}
}
else if (s[1].unicode() == 'i') {
if (s[2].unicode() == 'n') {
if (s[3].unicode() == 'c') {
- if (s[4].unicode() == 'e')
+ if (s[4].unicode() == 'e') {
return T_DOXY_SINCE;
+ }
}
}
}
@@ -668,24 +752,27 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'a') {
if (s[2].unicode() == 'b') {
if (s[3].unicode() == 'l') {
- if (s[4].unicode() == 'e')
+ if (s[4].unicode() == 'e') {
return T_DOXY_TABLE;
+ }
}
}
}
else if (s[1].unicode() == 'h') {
if (s[2].unicode() == 'r') {
if (s[3].unicode() == 'o') {
- if (s[4].unicode() == 'w')
+ if (s[4].unicode() == 'w') {
return T_DOXY_THROW;
+ }
}
}
}
else if (s[1].unicode() == 'i') {
if (s[2].unicode() == 't') {
if (s[3].unicode() == 'l') {
- if (s[4].unicode() == 'e')
+ if (s[4].unicode() == 'e') {
return T_DOXY_TITLE;
+ }
}
}
}
@@ -694,14 +781,16 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'n') {
if (s[2].unicode() == 'i') {
if (s[3].unicode() == 'o') {
- if (s[4].unicode() == 'n')
+ if (s[4].unicode() == 'n') {
return T_DOXY_UNION;
+ }
}
}
else if (s[2].unicode() == 't') {
if (s[3].unicode() == 'i') {
- if (s[4].unicode() == 'l')
+ if (s[4].unicode() == 'l') {
return T_DOXY_UNTIL;
+ }
}
}
}
@@ -710,8 +799,9 @@ static inline int classify5(const QChar *s) {
if (s[1].unicode() == 'a') {
if (s[2].unicode() == 'l') {
if (s[3].unicode() == 'u') {
- if (s[4].unicode() == 'e')
+ if (s[4].unicode() == 'e') {
return T_DOXY_VALUE;
+ }
}
}
}
@@ -725,8 +815,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'c') {
if (s[3].unicode() == 'h') {
if (s[4].unicode() == 'o') {
- if (s[5].unicode() == 'r')
+ if (s[5].unicode() == 'r') {
return T_DOXY_ANCHOR;
+ }
}
}
}
@@ -735,8 +826,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 't') {
if (s[3].unicode() == 'h') {
if (s[4].unicode() == 'o') {
- if (s[5].unicode() == 'r')
+ if (s[5].unicode() == 'r') {
return T_DOXY_AUTHOR;
+ }
}
}
}
@@ -747,8 +839,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'm') {
if (s[3].unicode() == 'p') {
if (s[4].unicode() == 'a') {
- if (s[5].unicode() == 't')
+ if (s[5].unicode() == 't') {
return T_DOXY_COMPAT;
+ }
}
}
}
@@ -759,8 +852,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 's') {
if (s[3].unicode() == 'e') {
if (s[4].unicode() == 'i') {
- if (s[5].unicode() == 'f')
+ if (s[5].unicode() == 'f') {
return T_DOXY_ELSEIF;
+ }
}
}
}
@@ -769,14 +863,16 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'd') {
if (s[3].unicode() == 'd') {
if (s[4].unicode() == 'o') {
- if (s[5].unicode() == 't')
+ if (s[5].unicode() == 't') {
return T_DOXY_ENDDOT;
+ }
}
}
else if (s[3].unicode() == 'r') {
if (s[4].unicode() == 'a') {
- if (s[5].unicode() == 'w')
+ if (s[5].unicode() == 'w') {
return T_DOXY_ENDRAW;
+ }
}
}
}
@@ -785,8 +881,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'p') {
if (s[3].unicode() == 'i') {
if (s[4].unicode() == 'r') {
- if (s[5].unicode() == 'e')
+ if (s[5].unicode() == 'e') {
return T_DOXY_EXPIRE;
+ }
}
}
}
@@ -797,8 +894,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'a') {
if (s[3].unicode() == 'd') {
if (s[4].unicode() == 'e') {
- if (s[5].unicode() == 'r')
+ if (s[5].unicode() == 'r') {
return T_DOXY_HEADER;
+ }
}
}
}
@@ -809,8 +907,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'd') {
if (s[3].unicode() == 'u') {
if (s[4].unicode() == 'l') {
- if (s[5].unicode() == 'e')
+ if (s[5].unicode() == 'e') {
return T_DOXY_MODULE;
+ }
}
}
}
@@ -821,8 +920,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'e') {
if (s[3].unicode() == 'n') {
if (s[4].unicode() == 'g') {
- if (s[5].unicode() == 'l')
+ if (s[5].unicode() == 'l') {
return T_DOXY_OPENGL;
+ }
}
}
}
@@ -833,14 +933,16 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 't') {
if (s[3].unicode() == 'u') {
if (s[4].unicode() == 'r') {
- if (s[5].unicode() == 'n')
+ if (s[5].unicode() == 'n') {
return T_DOXY_RETURN;
+ }
}
}
else if (s[3].unicode() == 'v') {
if (s[4].unicode() == 'a') {
- if (s[5].unicode() == 'l')
+ if (s[5].unicode() == 'l') {
return T_DOXY_RETVAL;
+ }
}
}
}
@@ -851,8 +953,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'i') {
if (s[3].unicode() == 'p') {
if (s[4].unicode() == 't') {
- if (s[5].unicode() == 'o')
+ if (s[5].unicode() == 'o') {
return T_DOXY_SKIPTO;
+ }
}
}
}
@@ -861,8 +964,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'r') {
if (s[3].unicode() == 'u') {
if (s[4].unicode() == 'c') {
- if (s[5].unicode() == 't')
+ if (s[5].unicode() == 't') {
return T_DOXY_STRUCT;
+ }
}
}
}
@@ -873,8 +977,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'r') {
if (s[3].unicode() == 'g') {
if (s[4].unicode() == 'e') {
- if (s[5].unicode() == 't')
+ if (s[5].unicode() == 't') {
return T_DOXY_TARGET;
+ }
}
}
}
@@ -883,8 +988,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'r') {
if (s[3].unicode() == 'o') {
if (s[4].unicode() == 'w') {
- if (s[5].unicode() == 's')
+ if (s[5].unicode() == 's') {
return T_DOXY_THROWS;
+ }
}
}
}
@@ -895,8 +1001,9 @@ static inline int classify6(const QChar *s) {
if (s[2].unicode() == 'b') {
if (s[3].unicode() == 'k') {
if (s[4].unicode() == 'i') {
- if (s[5].unicode() == 't')
+ if (s[5].unicode() == 't') {
return T_DOXY_WEBKIT;
+ }
}
}
}
@@ -912,8 +1019,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'c') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'd') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_BADCODE;
+ }
}
}
}
@@ -926,8 +1034,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 't') {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'o') {
- if (s[6].unicode() == 'n')
+ if (s[6].unicode() == 'n') {
return T_DOXY_CAPTION;
+ }
}
}
}
@@ -938,8 +1047,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'p') {
if (s[4].unicode() == 't') {
if (s[5].unicode() == 'e') {
- if (s[6].unicode() == 'r')
+ if (s[6].unicode() == 'r') {
return T_DOXY_CHAPTER;
+ }
}
}
}
@@ -950,8 +1060,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'y') {
if (s[4].unicode() == 'd') {
if (s[5].unicode() == 'o') {
- if (s[6].unicode() == 'c')
+ if (s[6].unicode() == 'c') {
return T_DOXY_COPYDOC;
+ }
}
}
}
@@ -960,8 +1071,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'e') {
if (s[4].unicode() == 'l') {
if (s[5].unicode() == 'i') {
- if (s[6].unicode() == 'b')
+ if (s[6].unicode() == 'b') {
return T_DOXY_CORELIB;
+ }
}
}
}
@@ -974,8 +1086,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'f') {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'l') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_DOTFILE;
+ }
}
}
}
@@ -988,40 +1101,46 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'c') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'd') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_ENDCODE;
+ }
}
else if (s[5].unicode() == 'n') {
- if (s[6].unicode() == 'd')
+ if (s[6].unicode() == 'd') {
return T_DOXY_ENDCOND;
+ }
}
}
}
else if (s[3].unicode() == 'l') {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'n') {
- if (s[6].unicode() == 'k')
+ if (s[6].unicode() == 'k') {
return T_DOXY_ENDLINK;
+ }
}
else if (s[5].unicode() == 's') {
- if (s[6].unicode() == 't')
+ if (s[6].unicode() == 't') {
return T_DOXY_ENDLIST;
+ }
}
}
}
else if (s[3].unicode() == 'o') {
if (s[4].unicode() == 'm') {
if (s[5].unicode() == 'i') {
- if (s[6].unicode() == 't')
+ if (s[6].unicode() == 't') {
return T_DOXY_ENDOMIT;
+ }
}
}
}
else if (s[3].unicode() == 'p') {
if (s[4].unicode() == 'a') {
if (s[5].unicode() == 'r') {
- if (s[6].unicode() == 't')
+ if (s[6].unicode() == 't') {
return T_DOXY_ENDPART;
+ }
}
}
}
@@ -1032,8 +1151,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'm') {
if (s[4].unicode() == 'p') {
if (s[5].unicode() == 'l') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_EXAMPLE;
+ }
}
}
}
@@ -1046,8 +1166,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'l') {
if (s[4].unicode() == 'u') {
if (s[5].unicode() == 'd') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_INCLUDE;
+ }
}
}
}
@@ -1056,8 +1177,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'r') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'u') {
- if (s[6].unicode() == 'p')
+ if (s[6].unicode() == 'p') {
return T_DOXY_INGROUP;
+ }
}
}
}
@@ -1070,8 +1192,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'w') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'r') {
- if (s[6].unicode() == 'd')
+ if (s[6].unicode() == 'd') {
return T_DOXY_KEYWORD;
+ }
}
}
}
@@ -1084,8 +1207,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'o') {
if (s[4].unicode() == 'n') {
if (s[5].unicode() == 'l') {
- if (s[6].unicode() == 'y')
+ if (s[6].unicode() == 'y') {
return T_DOXY_MANONLY;
+ }
}
}
}
@@ -1098,8 +1222,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'w') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'r') {
- if (s[6].unicode() == 'k')
+ if (s[6].unicode() == 'k') {
return T_DOXY_NETWORK;
+ }
}
}
}
@@ -1108,8 +1233,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'c') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'd') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_NEWCODE;
+ }
}
}
}
@@ -1122,8 +1248,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'c') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'd') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_OLDCODE;
+ }
}
}
}
@@ -1136,8 +1263,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'k') {
if (s[4].unicode() == 'a') {
if (s[5].unicode() == 'g') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_PACKAGE;
+ }
}
}
}
@@ -1148,8 +1276,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'n') {
if (s[4].unicode() == 't') {
if (s[5].unicode() == 't') {
- if (s[6].unicode() == 'o')
+ if (s[6].unicode() == 'o') {
return T_DOXY_PRINTTO;
+ }
}
}
}
@@ -1162,8 +1291,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'a') {
if (s[4].unicode() == 't') {
if (s[5].unicode() == 'e') {
- if (s[6].unicode() == 's')
+ if (s[6].unicode() == 's') {
return T_DOXY_RELATES;
+ }
}
}
}
@@ -1172,8 +1302,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'a') {
if (s[4].unicode() == 'r') {
if (s[5].unicode() == 'k') {
- if (s[6].unicode() == 's')
+ if (s[6].unicode() == 's') {
return T_DOXY_REMARKS;
+ }
}
}
}
@@ -1182,8 +1313,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'u') {
if (s[4].unicode() == 'r') {
if (s[5].unicode() == 'n') {
- if (s[6].unicode() == 's')
+ if (s[6].unicode() == 's') {
return T_DOXY_RETURNS;
+ }
}
}
}
@@ -1196,8 +1328,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 't') {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'o') {
- if (s[6].unicode() == 'n')
+ if (s[6].unicode() == 'n') {
return T_DOXY_SECTION;
+ }
}
}
}
@@ -1206,8 +1339,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'v') {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'c') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_SERVICE;
+ }
}
}
}
@@ -1218,8 +1352,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'e') {
if (s[4].unicode() == 'b') {
if (s[5].unicode() == 'a') {
- if (s[6].unicode() == 'r')
+ if (s[6].unicode() == 'r') {
return T_DOXY_SIDEBAR;
+ }
}
}
}
@@ -1230,8 +1365,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'p') {
if (s[4].unicode() == 'p') {
if (s[5].unicode() == 'e') {
- if (s[6].unicode() == 't')
+ if (s[6].unicode() == 't') {
return T_DOXY_SNIPPET;
+ }
}
}
}
@@ -1244,8 +1380,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'e') {
if (s[4].unicode() == 'd') {
if (s[5].unicode() == 'e') {
- if (s[6].unicode() == 'f')
+ if (s[6].unicode() == 'f') {
return T_DOXY_TYPEDEF;
+ }
}
}
}
@@ -1258,8 +1395,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'o') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'l') {
- if (s[6].unicode() == 's')
+ if (s[6].unicode() == 's') {
return T_DOXY_UITOOLS;
+ }
}
}
}
@@ -1270,8 +1408,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'c') {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'd') {
- if (s[6].unicode() == 'e')
+ if (s[6].unicode() == 'e') {
return T_DOXY_UNICODE;
+ }
}
}
}
@@ -1284,8 +1423,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 's') {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'o') {
- if (s[6].unicode() == 'n')
+ if (s[6].unicode() == 'n') {
return T_DOXY_VERSION;
+ }
}
}
}
@@ -1298,8 +1438,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'n') {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'n') {
- if (s[6].unicode() == 'g')
+ if (s[6].unicode() == 'g') {
return T_DOXY_WARNING;
+ }
}
}
}
@@ -1312,8 +1453,9 @@ static inline int classify7(const QChar *s) {
if (s[3].unicode() == 'o') {
if (s[4].unicode() == 'n') {
if (s[5].unicode() == 'l') {
- if (s[6].unicode() == 'y')
+ if (s[6].unicode() == 'y') {
return T_DOXY_XMLONLY;
+ }
}
}
}
@@ -1331,8 +1473,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'r') {
if (s[5].unicode() == 'a') {
if (s[6].unicode() == 'c') {
- if (s[7].unicode() == 't')
+ if (s[7].unicode() == 't') {
return T_DOXY_ABSTRACT;
+ }
}
}
}
@@ -1345,8 +1488,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'n') {
if (s[5].unicode() == 'd') {
if (s[6].unicode() == 'e') {
- if (s[7].unicode() == 'x')
+ if (s[7].unicode() == 'x') {
return T_DOXY_ADDINDEX;
+ }
}
}
}
@@ -1361,8 +1505,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'n') {
if (s[5].unicode() == 'a') {
if (s[6].unicode() == 'm') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_BASENAME;
+ }
}
}
}
@@ -1377,8 +1522,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'l') {
if (s[5].unicode() == 'i') {
if (s[6].unicode() == 'n') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_CODELINE;
+ }
}
}
}
@@ -1393,8 +1539,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'r') {
if (s[5].unicode() == 'o') {
if (s[6].unicode() == 'u') {
- if (s[7].unicode() == 'p')
+ if (s[7].unicode() == 'p') {
return T_DOXY_DEFGROUP;
+ }
}
}
}
@@ -1409,8 +1556,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'a') {
if (s[5].unicode() == 'b') {
if (s[6].unicode() == 'l') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_ENDTABLE;
+ }
}
}
}
@@ -1425,8 +1573,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'n') {
if (s[5].unicode() == 'o') {
if (s[6].unicode() == 't') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_FOOTNOTE;
+ }
}
}
}
@@ -1441,8 +1590,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'o') {
if (s[5].unicode() == 'n') {
if (s[6].unicode() == 'l') {
- if (s[7].unicode() == 'y')
+ if (s[7].unicode() == 'y') {
return T_DOXY_HTMLONLY;
+ }
}
}
}
@@ -1457,8 +1607,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'd') {
if (s[5].unicode() == 'u') {
if (s[6].unicode() == 'l') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_INMODULE;
+ }
}
}
}
@@ -1469,8 +1620,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'r') {
if (s[5].unicode() == 'n') {
if (s[6].unicode() == 'a') {
- if (s[7].unicode() == 'l')
+ if (s[7].unicode() == 'l') {
return T_DOXY_INTERNAL;
+ }
}
}
}
@@ -1485,8 +1637,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'l') {
if (s[5].unicode() == 'e') {
if (s[6].unicode() == 's') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_LEGALESE;
+ }
}
}
}
@@ -1501,8 +1654,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'p') {
if (s[5].unicode() == 'a') {
if (s[6].unicode() == 'g') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_MAINPAGE;
+ }
}
}
}
@@ -1517,8 +1671,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'p') {
if (s[5].unicode() == 'a') {
if (s[6].unicode() == 'g') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_NEXTPAGE;
+ }
}
}
}
@@ -1533,8 +1688,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'l') {
if (s[5].unicode() == 'e') {
if (s[6].unicode() == 't') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_OBSOLETE;
+ }
}
}
}
@@ -1547,8 +1703,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'l') {
if (s[5].unicode() == 'o') {
if (s[6].unicode() == 'a') {
- if (s[7].unicode() == 'd')
+ if (s[7].unicode() == 'd') {
return T_DOXY_OVERLOAD;
+ }
}
}
}
@@ -1563,8 +1720,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'e') {
if (s[5].unicode() == 'r') {
if (s[6].unicode() == 't') {
- if (s[7].unicode() == 'y')
+ if (s[7].unicode() == 'y') {
return T_DOXY_PROPERTY;
+ }
}
}
}
@@ -1579,8 +1737,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 't') {
if (s[5].unicode() == 'l') {
if (s[6].unicode() == 'i') {
- if (s[7].unicode() == 'b')
+ if (s[7].unicode() == 'b') {
return T_DOXY_QTESTLIB;
+ }
}
}
}
@@ -1595,14 +1754,18 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 'o') {
if (s[6].unicode() == 'n') {
- if (s[7].unicode() == '1')
+ if (s[7].unicode() == '1') {
return T_DOXY_SECTION1;
- else if (s[7].unicode() == '2')
+ }
+ else if (s[7].unicode() == '2') {
return T_DOXY_SECTION2;
- else if (s[7].unicode() == '3')
+ }
+ else if (s[7].unicode() == '3') {
return T_DOXY_SECTION3;
- else if (s[7].unicode() == '4')
+ }
+ else if (s[7].unicode() == '4') {
return T_DOXY_SECTION4;
+ }
}
}
}
@@ -1615,8 +1778,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'l') {
if (s[5].unicode() == 'i') {
if (s[6].unicode() == 'n') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_SKIPLINE;
+ }
}
}
}
@@ -1629,8 +1793,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 't') {
if (s[6].unicode() == 'l') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_SUBTITLE;
+ }
}
}
}
@@ -1645,8 +1810,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'a') {
if (s[5].unicode() == 'b') {
if (s[6].unicode() == 'l') {
- if (s[7].unicode() == 'e')
+ if (s[7].unicode() == 'e') {
return T_DOXY_VARIABLE;
+ }
}
}
}
@@ -1659,8 +1825,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'a') {
if (s[5].unicode() == 't') {
if (s[6].unicode() == 'i') {
- if (s[7].unicode() == 'm')
+ if (s[7].unicode() == 'm') {
return T_DOXY_VERBATIM;
+ }
}
}
}
@@ -1675,8 +1842,9 @@ static inline int classify8(const QChar *s) {
if (s[4].unicode() == 'i') {
if (s[5].unicode() == 't') {
if (s[6].unicode() == 'e') {
- if (s[7].unicode() == 'm')
+ if (s[7].unicode() == 'm') {
return T_DOXY_XREFITEM;
+ }
}
}
}
@@ -1696,8 +1864,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 't') {
if (s[6].unicode() == 'i') {
if (s[7].unicode() == 'o') {
- if (s[8].unicode() == 'n')
+ if (s[8].unicode() == 'n') {
return T_DOXY_ATTENTION;
+ }
}
}
}
@@ -1714,8 +1883,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'r') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'p') {
- if (s[8].unicode() == 'h')
+ if (s[8].unicode() == 'h') {
return T_DOXY_CALLGRAPH;
+ }
}
}
}
@@ -1732,8 +1902,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 't') {
if (s[6].unicode() == 'i') {
if (s[7].unicode() == 'o') {
- if (s[8].unicode() == 'n')
+ if (s[8].unicode() == 'n') {
return T_DOXY_EXCEPTION;
+ }
}
}
}
@@ -1750,8 +1921,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'p') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'g') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_INDEXPAGE;
+ }
}
}
}
@@ -1764,8 +1936,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'f') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'c') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_INTERFACE;
+ }
}
}
}
@@ -1778,8 +1951,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'i') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'n') {
- if (s[8].unicode() == 't')
+ if (s[8].unicode() == 't') {
return T_DOXY_INVARIANT;
+ }
}
}
}
@@ -1796,8 +1970,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'o') {
if (s[6].unicode() == 'n') {
if (s[7].unicode() == 'l') {
- if (s[8].unicode() == 'y')
+ if (s[8].unicode() == 'y') {
return T_DOXY_LATEXONLY;
+ }
}
}
}
@@ -1814,8 +1989,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'l') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 's') {
- if (s[8].unicode() == 's')
+ if (s[8].unicode() == 's') {
return T_DOXY_MAINCLASS;
+ }
}
}
}
@@ -1832,8 +2008,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'p') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'c') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_NAMESPACE;
+ }
}
}
}
@@ -1850,8 +2027,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'a') {
if (s[6].unicode() == 'l') {
if (s[7].unicode() == 'u') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_OMITVALUE;
+ }
}
}
}
@@ -1868,8 +2046,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'r') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'p') {
- if (s[8].unicode() == 'h')
+ if (s[8].unicode() == 'h') {
return T_DOXY_PARAGRAPH;
+ }
}
}
}
@@ -1884,8 +2063,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'l') {
if (s[6].unicode() == 'i') {
if (s[7].unicode() == 'n') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_PRINTLINE;
+ }
}
}
}
@@ -1902,8 +2082,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 't') {
if (s[6].unicode() == 'i') {
if (s[7].unicode() == 'o') {
- if (s[8].unicode() == 'n')
+ if (s[8].unicode() == 'n') {
return T_DOXY_QUOTATION;
+ }
}
}
}
@@ -1912,8 +2093,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'f') {
if (s[6].unicode() == 'i') {
if (s[7].unicode() == 'l') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_QUOTEFILE;
+ }
}
}
}
@@ -1930,8 +2112,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'r') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'n') {
- if (s[8].unicode() == 't')
+ if (s[8].unicode() == 't') {
return T_DOXY_REENTRANT;
+ }
}
}
}
@@ -1948,8 +2131,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'n') {
if (s[6].unicode() == 't') {
if (s[7].unicode() == 'i') {
- if (s[8].unicode() == 'l')
+ if (s[8].unicode() == 'l') {
return T_DOXY_SKIPUNTIL;
+ }
}
}
}
@@ -1964,8 +2148,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'p') {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 'g') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_STARTPAGE;
+ }
}
}
}
@@ -1982,8 +2167,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'l') {
if (s[6].unicode() == 'i') {
if (s[7].unicode() == 'n') {
- if (s[8].unicode() == 'e')
+ if (s[8].unicode() == 'e') {
return T_DOXY_UNDERLINE;
+ }
}
}
}
@@ -2000,8 +2186,9 @@ static inline int classify9(const QChar *s) {
if (s[5].unicode() == 'r') {
if (s[6].unicode() == 'o') {
if (s[7].unicode() == 'u') {
- if (s[8].unicode() == 'p')
+ if (s[8].unicode() == 'p') {
return T_DOXY_WEAKGROUP;
+ }
}
}
}
@@ -2023,8 +2210,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'r') {
if (s[7].unicode() == 'o') {
if (s[8].unicode() == 'u') {
- if (s[9].unicode() == 'p')
+ if (s[9].unicode() == 'p') {
return T_DOXY_ADDTOGROUP;
+ }
}
}
}
@@ -2043,8 +2231,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'a') {
if (s[7].unicode() == 't') {
if (s[8].unicode() == 'e') {
- if (s[9].unicode() == 'd')
+ if (s[9].unicode() == 'd') {
return T_DOXY_DEPRECATED;
+ }
}
}
}
@@ -2063,8 +2252,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'p') {
if (s[7].unicode() == 't') {
if (s[8].unicode() == 'e') {
- if (s[9].unicode() == 'r')
+ if (s[9].unicode() == 'r') {
return T_DOXY_ENDCHAPTER;
+ }
}
}
}
@@ -2077,8 +2267,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'o') {
if (s[7].unicode() == 'n') {
if (s[8].unicode() == 'l') {
- if (s[9].unicode() == 'y')
+ if (s[9].unicode() == 'y') {
return T_DOXY_ENDMANONLY;
+ }
}
}
}
@@ -2091,8 +2282,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'e') {
if (s[7].unicode() == 'b') {
if (s[8].unicode() == 'a') {
- if (s[9].unicode() == 'r')
+ if (s[9].unicode() == 'r') {
return T_DOXY_ENDSIDEBAR;
+ }
}
}
}
@@ -2105,8 +2297,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'o') {
if (s[7].unicode() == 'n') {
if (s[8].unicode() == 'l') {
- if (s[9].unicode() == 'y')
+ if (s[9].unicode() == 'y') {
return T_DOXY_ENDXMLONLY;
+ }
}
}
}
@@ -2123,8 +2316,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'i') {
if (s[7].unicode() == 'o') {
if (s[8].unicode() == 'n') {
- if (s[9].unicode() == 's')
+ if (s[9].unicode() == 's') {
return T_DOXY_EXCEPTIONS;
+ }
}
}
}
@@ -2143,8 +2337,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'f') {
if (s[7].unicode() == 'i') {
if (s[8].unicode() == 'l') {
- if (s[9].unicode() == 'e')
+ if (s[9].unicode() == 'e') {
return T_DOXY_HEADERFILE;
+ }
}
}
}
@@ -2163,8 +2358,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'n') {
if (s[7].unicode() == 't') {
if (s[8].unicode() == 'i') {
- if (s[9].unicode() == 'l')
+ if (s[9].unicode() == 'l') {
return T_DOXY_PRINTUNTIL;
+ }
}
}
}
@@ -2183,8 +2379,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 'p') {
if (s[7].unicode() == 'o') {
if (s[8].unicode() == 'r') {
- if (s[9].unicode() == 't')
+ if (s[9].unicode() == 't') {
return T_DOXY_QT3SUPPORT;
+ }
}
}
}
@@ -2203,8 +2400,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 't') {
if (s[7].unicode() == 'i') {
if (s[8].unicode() == 'o') {
- if (s[9].unicode() == 'n')
+ if (s[9].unicode() == 'n') {
return T_DOXY_SUBSECTION;
+ }
}
}
}
@@ -2223,8 +2421,9 @@ static inline int classify10(const QChar *s) {
if (s[6].unicode() == 's') {
if (s[7].unicode() == 'a') {
if (s[8].unicode() == 'f') {
- if (s[9].unicode() == 'e')
+ if (s[9].unicode() == 'e') {
return T_DOXY_THREADSAFE;
+ }
}
}
}
@@ -2248,8 +2447,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'l') {
if (s[8].unicode() == 'u') {
if (s[9].unicode() == 'd') {
- if (s[10].unicode() == 'e')
+ if (s[10].unicode() == 'e') {
return T_DOXY_DONTINCLUDE;
+ }
}
}
}
@@ -2270,8 +2470,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'r') {
if (s[8].unicode() == 'a') {
if (s[9].unicode() == 'c') {
- if (s[10].unicode() == 't')
+ if (s[10].unicode() == 't') {
return T_DOXY_ENDABSTRACT;
+ }
}
}
}
@@ -2286,8 +2487,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'n') {
if (s[8].unicode() == 'o') {
if (s[9].unicode() == 't') {
- if (s[10].unicode() == 'e')
+ if (s[10].unicode() == 'e') {
return T_DOXY_ENDFOOTNOTE;
+ }
}
}
}
@@ -2302,8 +2504,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'o') {
if (s[8].unicode() == 'n') {
if (s[9].unicode() == 'l') {
- if (s[10].unicode() == 'y')
+ if (s[10].unicode() == 'y') {
return T_DOXY_ENDHTMLONLY;
+ }
}
}
}
@@ -2318,8 +2521,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'l') {
if (s[8].unicode() == 'e') {
if (s[9].unicode() == 's') {
- if (s[10].unicode() == 'e')
+ if (s[10].unicode() == 'e') {
return T_DOXY_ENDLEGALESE;
+ }
}
}
}
@@ -2334,14 +2538,18 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'i') {
if (s[8].unicode() == 'o') {
if (s[9].unicode() == 'n') {
- if (s[10].unicode() == '1')
+ if (s[10].unicode() == '1') {
return T_DOXY_ENDSECTION1;
- else if (s[10].unicode() == '2')
+ }
+ else if (s[10].unicode() == '2') {
return T_DOXY_ENDSECTION2;
- else if (s[10].unicode() == '3')
+ }
+ else if (s[10].unicode() == '3') {
return T_DOXY_ENDSECTION3;
- else if (s[10].unicode() == '4')
+ }
+ else if (s[10].unicode() == '4') {
return T_DOXY_ENDSECTION4;
+ }
}
}
}
@@ -2356,8 +2564,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'a') {
if (s[8].unicode() == 't') {
if (s[9].unicode() == 'i') {
- if (s[10].unicode() == 'm')
+ if (s[10].unicode() == 'm') {
return T_DOXY_ENDVERBATIM;
+ }
}
}
}
@@ -2378,8 +2587,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'r') {
if (s[8].unicode() == 'i') {
if (s[9].unicode() == 't') {
- if (s[10].unicode() == 'y')
+ if (s[10].unicode() == 'y') {
return T_DOXY_GRANULARITY;
+ }
}
}
}
@@ -2400,8 +2610,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'l') {
if (s[8].unicode() == 'u') {
if (s[9].unicode() == 'd') {
- if (s[10].unicode() == 'e')
+ if (s[10].unicode() == 'e') {
return T_DOXY_HTMLINCLUDE;
+ }
}
}
}
@@ -2422,8 +2633,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'm') {
if (s[8].unicode() == 'a') {
if (s[9].unicode() == 'g') {
- if (s[10].unicode() == 'e')
+ if (s[10].unicode() == 'e') {
return T_DOXY_INLINEIMAGE;
+ }
}
}
}
@@ -2444,8 +2656,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'n') {
if (s[8].unicode() == 'a') {
if (s[9].unicode() == 'r') {
- if (s[10].unicode() == 'y')
+ if (s[10].unicode() == 'y') {
return T_DOXY_PRELIMINARY;
+ }
}
}
}
@@ -2466,8 +2679,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'a') {
if (s[8].unicode() == 'l') {
if (s[9].unicode() == 's') {
- if (s[10].unicode() == 'o')
+ if (s[10].unicode() == 'o') {
return T_DOXY_RELATESALSO;
+ }
}
}
}
@@ -2488,8 +2702,9 @@ static inline int classify11(const QChar *s) {
if (s[7].unicode() == 'l') {
if (s[8].unicode() == 'u') {
if (s[9].unicode() == 'd') {
- if (s[10].unicode() == 'e')
+ if (s[10].unicode() == 'e') {
return T_DOXY_VERBINCLUDE;
+ }
}
}
}
@@ -2515,8 +2730,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 'p') {
if (s[9].unicode() == 'a') {
if (s[10].unicode() == 'g') {
- if (s[11].unicode() == 'e')
+ if (s[11].unicode() == 'e') {
return T_DOXY_CONTENTSPAGE;
+ }
}
}
}
@@ -2539,8 +2755,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 'o') {
if (s[9].unicode() == 'n') {
if (s[10].unicode() == 'l') {
- if (s[11].unicode() == 'y')
+ if (s[11].unicode() == 'y') {
return T_DOXY_ENDLATEXONLY;
+ }
}
}
}
@@ -2557,8 +2774,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 't') {
if (s[9].unicode() == 'i') {
if (s[10].unicode() == 'o') {
- if (s[11].unicode() == 'n')
+ if (s[11].unicode() == 'n') {
return T_DOXY_ENDQUOTATION;
+ }
}
}
}
@@ -2579,8 +2797,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 'p') {
if (s[9].unicode() == 'a') {
if (s[10].unicode() == 'g') {
- if (s[11].unicode() == 'e')
+ if (s[11].unicode() == 'e') {
return T_DOXY_EXTERNALPAGE;
+ }
}
}
}
@@ -2603,8 +2822,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 'l') {
if (s[9].unicode() == 'i') {
if (s[10].unicode() == 's') {
- if (s[11].unicode() == 't')
+ if (s[11].unicode() == 't') {
return T_DOXY_GENERATELIST;
+ }
}
}
}
@@ -2627,8 +2847,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 'f') {
if (s[9].unicode() == 'i') {
if (s[10].unicode() == 'l') {
- if (s[11].unicode() == 'e')
+ if (s[11].unicode() == 'e') {
return T_DOXY_INHEADERFILE;
+ }
}
}
}
@@ -2651,8 +2872,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 'r') {
if (s[9].unicode() == 'a') {
if (s[10].unicode() == 'n') {
- if (s[11].unicode() == 't')
+ if (s[11].unicode() == 't') {
return T_DOXY_NONREENTRANT;
+ }
}
}
}
@@ -2675,8 +2897,9 @@ static inline int classify12(const QChar *s) {
if (s[8].unicode() == 'p') {
if (s[9].unicode() == 'a') {
if (s[10].unicode() == 'g') {
- if (s[11].unicode() == 'e')
+ if (s[11].unicode() == 'e') {
return T_DOXY_PREVIOUSPAGE;
+ }
}
}
}
@@ -2704,8 +2927,9 @@ static inline int classify13(const QChar *s) {
if (s[9].unicode() == 'r') {
if (s[10].unicode() == 'o') {
if (s[11].unicode() == 'u') {
- if (s[12].unicode() == 'p')
+ if (s[12].unicode() == 'p') {
return T_DOXY_INPUBLICGROUP;
+ }
}
}
}
@@ -2730,8 +2954,9 @@ static inline int classify13(const QChar *s) {
if (s[9].unicode() == 'p') {
if (s[10].unicode() == 'i') {
if (s[11].unicode() == 'n') {
- if (s[12].unicode() == 'g')
+ if (s[12].unicode() == 'g') {
return T_DOXY_NOSUBGROUPING;
+ }
}
}
}
@@ -2756,8 +2981,9 @@ static inline int classify13(const QChar *s) {
if (s[9].unicode() == 'f') {
if (s[10].unicode() == 'i') {
if (s[11].unicode() == 'l') {
- if (s[12].unicode() == 'e')
+ if (s[12].unicode() == 'e') {
return T_DOXY_QUOTEFROMFILE;
+ }
}
}
}
@@ -2770,8 +2996,9 @@ static inline int classify13(const QChar *s) {
if (s[9].unicode() == 't') {
if (s[10].unicode() == 'i') {
if (s[11].unicode() == 'o') {
- if (s[12].unicode() == 'n')
+ if (s[12].unicode() == 'n') {
return T_DOXY_QUOTEFUNCTION;
+ }
}
}
}
@@ -2796,8 +3023,9 @@ static inline int classify13(const QChar *s) {
if (s[9].unicode() == 't') {
if (s[10].unicode() == 'i') {
if (s[11].unicode() == 'o') {
- if (s[12].unicode() == 'n')
+ if (s[12].unicode() == 'n') {
return T_DOXY_SUBSUBSECTION;
+ }
}
}
}
@@ -2828,8 +3056,9 @@ static inline int classify15(const QChar *s) {
if (s[11].unicode() == 'i') {
if (s[12].unicode() == 'z') {
if (s[13].unicode() == 'e') {
- if (s[14].unicode() == 'r')
+ if (s[14].unicode() == 'r') {
return T_DOXY_HIDEINITIALIZER;
+ }
}
}
}
@@ -2858,8 +3087,9 @@ static inline int classify15(const QChar *s) {
if (s[11].unicode() == 'i') {
if (s[12].unicode() == 'z') {
if (s[13].unicode() == 'e') {
- if (s[14].unicode() == 'r')
+ if (s[14].unicode() == 'r') {
return T_DOXY_SHOWINITIALIZER;
+ }
}
}
}
@@ -2888,8 +3118,9 @@ static inline int classify15(const QChar *s) {
if (s[11].unicode() == 'e') {
if (s[12].unicode() == 'n') {
if (s[13].unicode() == 't') {
- if (s[14].unicode() == 's')
+ if (s[14].unicode() == 's') {
return T_DOXY_TABLEOFCONTENTS;
+ }
}
}
}
@@ -2926,4 +3157,3 @@ int CppTools::classifyDoxygenTag(const QChar *s, int n) {
default: return T_DOXY_IDENTIFIER;
} // switch
}
-