Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmldirparser.cpp File Reference
#include "qqmldirparser_p.h"
#include <QtCore/QtDebug>
+ Include dependency graph for qqmldirparser.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE int parseInt (QStringView str, bool *ok)
 
static QTypeRevision parseVersion (const QString &str)
 
static void scanSpace (const QChar *&ch)
 
static void scanToEnd (const QChar *&ch)
 
static void scanWord (const QChar *&ch)
 
QDebugoperator<< (QDebug &debug, const QQmlDirParser::Component &component)
 
QDebugoperator<< (QDebug &debug, const QQmlDirParser::Script &script)
 

Function Documentation

◆ operator<<() [1/2]

QDebug & operator<< ( QDebug debug,
const QQmlDirParser::Component component 
)

Definition at line 407 of file qqmldirparser.cpp.

References component(), debug, output, qPrintable, and QStringLiteral.

+ Here is the call graph for this function:

◆ operator<<() [2/2]

QDebug & operator<< ( QDebug debug,
const QQmlDirParser::Script script 
)

Definition at line 415 of file qqmldirparser.cpp.

References debug, QTypeRevision::majorVersion(), QTypeRevision::minorVersion(), QQmlDirParser::Script::nameSpace, output, qPrintable, QStringLiteral, and QQmlDirParser::Script::version.

+ Here is the call graph for this function:

◆ parseInt()

static QT_BEGIN_NAMESPACE int parseInt ( QStringView  str,
bool *  ok 
)
static

Definition at line 10 of file qqmldirparser.cpp.

References QString::at(), QChar::isDigit(), number, ok, pos, QString::size(), str, and QChar::unicode().

Referenced by parseVersion().

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

◆ parseVersion()

static QTypeRevision parseVersion ( const QString str)
static

Definition at line 27 of file qqmldirparser.cpp.

References QTypeRevision::fromVersion(), QString::indexOf(), ok, parseInt(), QString::size(), and str.

Referenced by QQmlDirParser::parse().

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

◆ scanSpace()

static void scanSpace ( const QChar *&  ch)
inlinestatic

Definition at line 55 of file qqmldirparser.cpp.

References ch.

Referenced by QQmlDirParser::parse().

+ Here is the caller graph for this function:

◆ scanToEnd()

static void scanToEnd ( const QChar *&  ch)
inlinestatic

Definition at line 60 of file qqmldirparser.cpp.

References ch.

Referenced by QQmlDirParser::parse().

+ Here is the caller graph for this function:

◆ scanWord()

static void scanWord ( const QChar *&  ch)
inlinestatic

Definition at line 65 of file qqmldirparser.cpp.

References ch.

Referenced by QQmlDirParser::parse().

+ Here is the caller graph for this function: