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

(c2a65fbe04bbcac066a8bf1527d064d4866efbfe)

#include "qqmljscontextualtypes_p.h"
#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 QQmlJS::ContextualTypes &contextualTypes)
 
template<typename Resolver , typename ChildScopeUpdater >
static QTypeRevision resolveTypesInternal (Resolver resolve, ChildScopeUpdater update, const QQmlJSScope::Ptr &self, const QQmlJS::ContextualTypes &contextualTypes, QSet< QString > *usedTypes)
 
static QString flagStorage (const QString &underlyingType)
 

Function Documentation

◆ flagStorage()

static QString flagStorage ( const QString & underlyingType)
static

Definition at line 599 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 QQmlJS::ContextualTypes & contextualTypes )
static

Definition at line 317 of file qqmljsscope.cpp.

References base, QQmlJSScope::baseType(), QQmlJSScope::childScopes(), QQmlJSScope::inlineComponentName(), QQmlJSScope::isInlineComponent(), and typeName.

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 QQmlJS::ContextualTypes & contextualTypes,
QSet< QString > * usedTypes )
static

Definition at line 563 of file qqmljsscope.cpp.

References QSet< T >::begin(), it, resolve(), 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: