Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "tokenizer.h"
#include "config.h"
#include "generator.h"
#include <QtCore/qfile.h>
#include <QtCore/qhash.h>
#include <QtCore/qregularexpression.h>
#include <QtCore/qstring.h>
#include <QtCore/qstringconverter.h>
#include <cctype>
#include <cstring>
#include <utility>
Go to the source code of this file.
Macros | |
#define | LANGUAGE_CPP "Cpp" |
Functions | |
static int | hashKword (const char *s, int len) |
static void | insertKwordIntoHash (const char *s, int number) |
Variables | |
static const char * | kwords [] |
static const int | KwordHashTableSize = 4096 |
static int | kwordHashTable [KwordHashTableSize] |
static QHash< QByteArray, bool > * | ignoredTokensAndDirectives = nullptr |
static QRegularExpression * | comment = nullptr |
static QRegularExpression * | versionX = nullptr |
static QRegularExpression * | definedX = nullptr |
static QRegularExpression * | defines = nullptr |
static QRegularExpression * | falsehoods = nullptr |
static QStringDecoder | sourceDecoder |
#define LANGUAGE_CPP "Cpp" |
Definition at line 21 of file tokenizer.cpp.
|
static |
Definition at line 104 of file tokenizer.cpp.
Referenced by insertKwordIntoHash().
|
static |
Definition at line 109 of file tokenizer.cpp.
References hashKword(), kwordHashTable, and KwordHashTableSize.
|
static |
Definition at line 90 of file tokenizer.cpp.
Referenced by Tokenizer::terminate().
|
static |
Definition at line 92 of file tokenizer.cpp.
Referenced by Tokenizer::isTrue(), and Tokenizer::terminate().
|
static |
Definition at line 94 of file tokenizer.cpp.
Referenced by Tokenizer::isTrue(), and Tokenizer::terminate().
|
static |
Definition at line 95 of file tokenizer.cpp.
Referenced by Tokenizer::isTrue(), and Tokenizer::terminate().
|
static |
Definition at line 88 of file tokenizer.cpp.
Referenced by Tokenizer::getToken(), and Tokenizer::terminate().
|
static |
Definition at line 86 of file tokenizer.cpp.
Referenced by Tokenizer::getToken(), Tokenizer::initialize(), and insertKwordIntoHash().
|
static |
Definition at line 85 of file tokenizer.cpp.
Referenced by Tokenizer::getToken(), and insertKwordIntoHash().
|
static |
Definition at line 28 of file tokenizer.cpp.
|
static |
Definition at line 97 of file tokenizer.cpp.
Referenced by Tokenizer::initialize().
|
static |
Definition at line 91 of file tokenizer.cpp.
Referenced by Tokenizer::terminate().