![]() |
Qt 6.x
The Qt SDK
|
#include "qqmljslexer_p.h"
#include "qqmljsengine_p.h"
#include "qqmljskeywords_p.h"
#include <private/qqmljsdiagnosticmessage_p.h>
#include <private/qqmljsmemorypool_p.h>
#include <private/qlocale_tools_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qvarlengtharray.h>
#include <QtCore/qdebug.h>
#include <QtCore/QScopedValueRollback>
#include <optional>
Go to the source code of this file.
Namespaces | |
namespace | QQmlJS |
Functions | |
static int | regExpFlagFromChar (const QChar &ch) |
static unsigned char | convertHex (ushort c) |
static QChar | convertHex (QChar c1, QChar c2) |
QDebug | QQmlJS::operator<< (QDebug dbg, const Lexer &l) |
static bool | isIdentifierStart (uint ch) |
static bool | isIdentifierPart (uint ch) |
static bool | isUriToken (int token) |
QDebug | QQmlJS::operator<< (QDebug dbg, const Lexer::State &s) |
Variables | |
static const int | uriTokens [] |
Definition at line 45 of file qqmljslexer.cpp.
References c2, convertHex(), and QChar::unicode().
|
inlinestatic |
Definition at line 35 of file qqmljslexer.cpp.
Referenced by convertHex().
|
static |
Definition at line 497 of file qqmljslexer.cpp.
References QChar::category(), ch, QChar::Letter_Lowercase, QChar::Letter_Modifier, QChar::Letter_Other, QChar::Letter_Titlecase, QChar::Letter_Uppercase, QChar::Mark_NonSpacing, QChar::Mark_SpacingCombining, QChar::Number_DecimalDigit, QChar::Number_Letter, and QChar::Punctuation_Connector.
|
inlinestatic |
Definition at line 475 of file qqmljslexer.cpp.
References QChar::category(), ch, QChar::Letter_Lowercase, QChar::Letter_Modifier, QChar::Letter_Other, QChar::Letter_Titlecase, QChar::Letter_Uppercase, and QChar::Number_Letter.
|
inlinestatic |
Definition at line 1630 of file qqmljslexer.cpp.
References token, and uriTokens.
Referenced by QQmlJS::Lexer::scanDirectives().
|
inlinestatic |
Definition at line 23 of file qqmljslexer.cpp.
References ch, QQmlJS::Lexer::RegExp_Global, QQmlJS::Lexer::RegExp_IgnoreCase, QQmlJS::Lexer::RegExp_Multiline, QQmlJS::Lexer::RegExp_Sticky, and QQmlJS::Lexer::RegExp_Unicode.
Referenced by QQmlJS::Lexer::scanRegExp().
|
static |
Definition at line 1588 of file qqmljslexer.cpp.
Referenced by isUriToken().