Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmljsscope_p.h File Reference

(a37e4270a5e66507aeda483ec4d32262096b44cc)

#include <qtqmlcompilerexports.h>
#include "qqmljsmetatypes_p.h"
#include "qdeferredpointer_p.h"
#include "qqmljsannotation_p.h"
#include "qqmlsaconstants.h"
#include "qqmlsa_p.h"
#include <QtQml/private/qqmljssourcelocation_p.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qhash.h>
#include <QtCore/qset.h>
#include <QtCore/qstring.h>
#include <QtCore/qtyperevision.h>
#include <optional>
Include dependency graph for qqmljsscope_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QQmlJS::Export
struct  QQmlJS::ExportedScope< Pointer >
struct  QQmlJS::ImportedScope< Pointer >
class  QQmlJSScope
 Tracks the types for the QmlCompiler. More...
struct  QQmlJSScope::JavaScriptIdentifier
struct  QQmlJSScope::AnnotatedScope
class  QDeferredFactory< QQmlJSScope >

Namespaces

namespace  QQmlJS
namespace  QQmlSA
 \inmodule QtQmlCompiler

Typedefs

using QQmlJS::ChildScopesIterator = QList<QDeferredSharedPointer<QQmlJSScope>>::const_iterator
using QQmlJSExportedScope = QQmlJSScope::ExportedScope<QQmlJSScope::Ptr>
using QQmlJSImportedScope = QQmlJSScope::ImportedScope<QQmlJSScope::ConstPtr>

Functions

 Q_DECLARE_TYPEINFO (QQmlJSScope::QmlIRCompatibilityBindingData, Q_RELOCATABLE_TYPE)
constexpr bool QQmlSA::isFunctionScope (ScopeType type)
template<typename T>
static void resetFactory (QDeferredSharedPointer< T > &pointer, QQmlJSImporter *importer, const typename QDeferredFactory< std::remove_const_t< T > >::TypeReader &typeReader, const QString &filePath)
template<typename T, typename U>
void resetFactoryImpl (QDeferredSharedPointer< T > &pointer, U &&factory)

Typedef Documentation

◆ QQmlJSExportedScope

◆ QQmlJSImportedScope

Function Documentation

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( QQmlJSScope::QmlIRCompatibilityBindingData ,
Q_RELOCATABLE_TYPE  )

◆ resetFactory()

template<typename T>
void resetFactory ( QDeferredSharedPointer< T > & pointer,
QQmlJSImporter * importer,
const typename QDeferredFactory< std::remove_const_t< T > >::TypeReader & typeReader,
const QString & filePath )
static

Definition at line 714 of file qqmljsscope_p.h.

◆ resetFactoryImpl()

template<typename T, typename U>
void resetFactoryImpl ( QDeferredSharedPointer< T > & pointer,
U && factory )

Definition at line 728 of file qqmljsscope_p.h.