Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmljsscope.cpp File Reference
#include "qqmljsscope_p.h"
#include "qqmljstypereader_p.h"
#include "qqmljsimporter_p.h"
#include "qqmljsutils_p.h"
#include "qqmlsa.h"
#include "qqmlsa_p.h"
#include <QtCore/qqueue.h>
#include <QtCore/qsharedpointer.h>
#include <private/qduplicatetracker_p.h>
#include <algorithm>
#include <type_traits>
+ Include dependency graph for qqmljsscope.cpp:

Go to the source code of this file.

Functions

static QQmlJSScope::ImportedScope< QQmlJSScope::ConstPtrqFindInlineComponents (QStringView typeName, const QQmlJSScope::ContextualTypes &contextualTypes)
 
template<typename Resolver , typename ChildScopeUpdater >
static QTypeRevision resolveTypesInternal (Resolver resolve, ChildScopeUpdater update, const QQmlJSScope::Ptr &self, const QQmlJSScope::ContextualTypes &contextualTypes, QSet< QString > *usedTypes)
 
static QString flagStorage (const QString &underlyingType)
 

Function Documentation

◆ flagStorage()

static QString flagStorage ( const QString underlyingType)
static

Definition at line 621 of file qqmljsscope.cpp.

Referenced by QQmlJSScope::resolveEnums().

+ Here is the caller graph for this function:

◆ qFindInlineComponents()

static QQmlJSScope::ImportedScope< QQmlJSScope::ConstPtr > qFindInlineComponents ( QStringView  typeName,
const QQmlJSScope::ContextualTypes contextualTypes 
)
static

Definition at line 347 of file qqmljsscope.cpp.

References QList< T >::append(), base, QQmlJSScope::baseType(), QQmlJSScope::childScopes(), QQueue< T >::dequeue(), QQueue< T >::enqueue(), QQmlJSScope::inlineComponentName(), QQmlJSScope::isInlineComponent(), QList< T >::size(), typeName, and QQmlJSScope::ContextualTypes::types().

Referenced by QQmlJSScope::findType().

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

◆ resolveTypesInternal()

template<typename Resolver , typename ChildScopeUpdater >
static QTypeRevision resolveTypesInternal ( Resolver  resolve,
ChildScopeUpdater  update,
const QQmlJSScope::Ptr self,
const QQmlJSScope::ContextualTypes contextualTypes,
QSet< QString > *  usedTypes 
)
static

Definition at line 585 of file qqmljsscope.cpp.

References QSet< T >::begin(), it, and resolveTypesInternal().

Referenced by QQmlJSScope::resolveNonEnumTypes(), QQmlJSScope::resolveTypes(), and resolveTypesInternal().

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