Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmljslexer.cpp File Reference

(8d4ebd03d29e58ef83b286a12d3257bc9a3094d4)

#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>
Include dependency graph for qqmljslexer.cpp:

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 []

Function Documentation

◆ convertHex() [1/2]

QChar convertHex ( QChar c1,
QChar c2 )
inlinestatic

Definition at line 47 of file qqmljslexer.cpp.

◆ convertHex() [2/2]

unsigned char convertHex ( ushort c)
inlinestatic

Definition at line 37 of file qqmljslexer.cpp.

◆ isIdentifierPart()

bool isIdentifierPart ( uint ch)
static

Definition at line 518 of file qqmljslexer.cpp.

◆ isIdentifierStart()

bool isIdentifierStart ( uint ch)
inlinestatic

Definition at line 496 of file qqmljslexer.cpp.

◆ isUriToken()

bool isUriToken ( int token)
inlinestatic

Definition at line 1661 of file qqmljslexer.cpp.

References uriTokens.

◆ regExpFlagFromChar()

int regExpFlagFromChar ( const QChar & ch)
inlinestatic

Definition at line 25 of file qqmljslexer.cpp.

Variable Documentation

◆ uriTokens

const int uriTokens
static

Definition at line 1607 of file qqmljslexer.cpp.

Referenced by isUriToken().