Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmldomscanner.cpp File Reference

(f86900fa79dee56db1c0694495a52069b81457c4)

#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 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: