Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmldomscanner.cpp File Reference
#include "qqmldomscanner_p.h"
#include "qqmldomerrormessage_p.h"
#include <QtCore/QMetaEnum>
#include <algorithm>
+ Include dependency graph for qqmldomscanner.cpp:

Go to the source code of this file.

Functions

static void addLexToken (QList< Token > &tokens, int tokenKind, QQmlJS::Lexer &lexer, bool &regexpMayFollow)
 

Function Documentation

◆ addLexToken()

static void addLexToken ( QList< Token > &  tokens,
int  tokenKind,
QQmlJS::Lexer lexer,
bool &  regexpMayFollow 
)
static

Definition at line 15 of file qqmldomscanner.cpp.

References QList< T >::append(), QQmlJS::Lexer::code(), QQmlJS::Lexer::State::currentChar, QString::endsWith(), QQmlJS::Lexer::EqualPrefix, QQmlJS::Lexer::errorCode(), QQmlJS::Lexer::errorMessage(), QQmlJS::Lexer::lex(), QQmlJS::Lexer::NoPrefix, Q_ASSERT, Q_FALLTHROUGH, qCWarning, QQmlJS::Lexer::scanRegExp(), QString::size(), QQmlJS::Lexer::state(), QQmlJS::Lexer::tokenLength(), QQmlJS::Lexer::tokenStartColumn(), and QQmlJS::Lexer::tokenText().

Referenced by QQmlJS::Dom::Scanner::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: