Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmljstyperesolver.cpp File Reference
#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 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

◆ isRevisionAllowed()

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

Definition at line 888 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 628 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

Definition at line 873 of file qqmljstyperesolver.cpp.

References QQmlJSScope::ExtensionNamespace, QQmlJSRegisterContent::ExtensionScopeMethod, QQmlJSRegisterContent::ExtensionScopeProperty, QQmlJSScope::ExtensionType, QQmlJSScope::NotExtension, QQmlJSRegisterContent::ScopeMethod, QQmlJSRegisterContent::ScopeProperty, and QQmlJSRegisterContent::Unknown.

Referenced by QQmlJSTypeResolver::scopedType().

+ Here is the caller graph for this function: