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
qqmljstyperesolver.cpp File Reference

(23fc22e16022e355f2a1aff8705c09b807fbe024)

#include "qqmljstyperesolver_p.h"
#include "qqmljsimporter_p.h"
#include "qqmljsimportvisitor_p.h"
#include "qqmljslogger_p.h"
#include "qqmljsutils_p.h"
#include <private/qv4value_p.h>
#include <private/qduplicatetracker_p.h>
#include <QtCore/qloggingcategory.h>
+ Include dependency graph for qqmljstyperesolver.cpp:

Go to the source code of this file.

Functions

 Q_LOGGING_CATEGORY (lcTypeResolver, "qt.qml.compiler.typeresolver", QtInfoMsg)
 
static void assertExtension (const QQmlJSScope::ConstPtr &type, QLatin1String extension)
 
static QQmlJSRegisterContent::ContentVariant mergeVariants (QQmlJSRegisterContent::ContentVariant a, QQmlJSRegisterContent::ContentVariant b)
 
static QQmlJSRegisterContent::ContentVariant scopeContentVariant (QQmlJSScope::ExtensionKind mode, bool isMethod)
 
static bool isRevisionAllowed (int memberRevision, const QQmlJSScope::ConstPtr &scope)
 

Function Documentation

◆ assertExtension()

static void assertExtension ( const QQmlJSScope::ConstPtr & type,
QLatin1String extension )
inlinestatic

Definition at line 22 of file qqmljstyperesolver.cpp.

References extension(), and Q_ASSERT.

Referenced by QQmlJSTypeResolver::QQmlJSTypeResolver().

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

◆ isRevisionAllowed()

static bool isRevisionAllowed ( int memberRevision,
const QQmlJSScope::ConstPtr & scope )
static

Definition at line 1010 of file qqmljstyperesolver.cpp.

References QQmlJSScope::baseType(), QQmlJSScope::baseTypeRevision(), QTypeRevision::fromEncodedVersion(), QQmlJSScope::isComposite(), QTypeRevision::isValid(), QQmlJSScope::nonCompositeBaseRevision(), Q_ASSERT, and QTypeRevision::zero().

+ Here is the call graph for this function:

◆ mergeVariants()

Definition at line 717 of file qqmljstyperesolver.cpp.

References QQmlJSRegisterContent::Unknown.

Referenced by QQmlJSTypeResolver::merge().

+ Here is the caller graph for this function:

◆ Q_LOGGING_CATEGORY()

Q_LOGGING_CATEGORY ( lcTypeResolver ,
"qt.qml.compiler.typeresolver" ,
QtInfoMsg  )

◆ scopeContentVariant()

static QQmlJSRegisterContent::ContentVariant scopeContentVariant ( QQmlJSScope::ExtensionKind mode,
bool isMethod )
static