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
QQmlJSImporter::ImportedTypes Struct Reference

#include <qqmljsimporter_p.h>

Collaboration diagram for QQmlJSImporter::ImportedTypes:

Public Member Functions

 ImportedTypes (QQmlJS::ContextualTypes &&types, QList< QQmlJS::DiagnosticMessage > &&warnings)
 ImportedTypes (const ImportedTypes &)=default
 ImportedTypes (ImportedTypes &&)=default
ImportedTypesoperator= (const ImportedTypes &)=default
ImportedTypesoperator= (ImportedTypes &&)=default
 ~ImportedTypes ()=default
void clear ()
const QQmlJS::ContextualTypescontextualTypes () const
const QList< QQmlJS::DiagnosticMessage > & warnings () const
bool isEmpty () const
bool hasType (const QString &name) const
QQmlJS::ImportedScope< QQmlJSScope::ConstPtrtype (const QString &name) const
QString name (const QQmlJSScope::ConstPtr &type) const
void setType (const QString &name, const QQmlJS::ContextualType &type)
bool isNullType (const QString &name) const
const QHash< QString, QQmlJS::ContextualType > & types () const
const auto & names () const
void add (ImportedTypes &&other)
void addWarnings (QList< QQmlJS::DiagnosticMessage > &&warnings)

Detailed Description

Definition at line 84 of file qqmljsimporter_p.h.

Constructor & Destructor Documentation

◆ ImportedTypes() [1/3]

QQmlJSImporter::ImportedTypes::ImportedTypes ( QQmlJS::ContextualTypes && types,
QList< QQmlJS::DiagnosticMessage > && warnings )
inline

Definition at line 85 of file qqmljsimporter_p.h.

◆ ImportedTypes() [2/3]

QQmlJSImporter::ImportedTypes::ImportedTypes ( const ImportedTypes & )
default

◆ ImportedTypes() [3/3]

QQmlJSImporter::ImportedTypes::ImportedTypes ( ImportedTypes && )
default

◆ ~ImportedTypes()

QQmlJSImporter::ImportedTypes::~ImportedTypes ( )
default

Member Function Documentation

◆ add()

void QQmlJSImporter::ImportedTypes::add ( ImportedTypes && other)
inline

Definition at line 120 of file qqmljsimporter_p.h.

◆ addWarnings()

void QQmlJSImporter::ImportedTypes::addWarnings ( QList< QQmlJS::DiagnosticMessage > && warnings)
inline

Definition at line 126 of file qqmljsimporter_p.h.

◆ clear()

void QQmlJSImporter::ImportedTypes::clear ( )
inline

Definition at line 95 of file qqmljsimporter_p.h.

◆ contextualTypes()

const QQmlJS::ContextualTypes & QQmlJSImporter::ImportedTypes::contextualTypes ( ) const
inline

Definition at line 101 of file qqmljsimporter_p.h.

◆ hasType()

bool QQmlJSImporter::ImportedTypes::hasType ( const QString & name) const
inline

Definition at line 106 of file qqmljsimporter_p.h.

◆ isEmpty()

bool QQmlJSImporter::ImportedTypes::isEmpty ( ) const
inline

Definition at line 104 of file qqmljsimporter_p.h.

◆ isNullType()

bool QQmlJSImporter::ImportedTypes::isNullType ( const QString & name) const
inline

Definition at line 116 of file qqmljsimporter_p.h.

◆ name()

QString QQmlJSImporter::ImportedTypes::name ( const QQmlJSScope::ConstPtr & type) const
inline

Definition at line 111 of file qqmljsimporter_p.h.

◆ names()

const auto & QQmlJSImporter::ImportedTypes::names ( ) const
inline

Definition at line 118 of file qqmljsimporter_p.h.

◆ operator=() [1/2]

ImportedTypes & QQmlJSImporter::ImportedTypes::operator= ( const ImportedTypes & )
default

◆ operator=() [2/2]

ImportedTypes & QQmlJSImporter::ImportedTypes::operator= ( ImportedTypes && )
default

◆ setType()

void QQmlJSImporter::ImportedTypes::setType ( const QString & name,
const QQmlJS::ContextualType & type )
inline

Definition at line 112 of file qqmljsimporter_p.h.

◆ type()

QQmlJS::ImportedScope< QQmlJSScope::ConstPtr > QQmlJSImporter::ImportedTypes::type ( const QString & name) const
inline

Definition at line 107 of file qqmljsimporter_p.h.

◆ types()

const QHash< QString, QQmlJS::ContextualType > & QQmlJSImporter::ImportedTypes::types ( ) const
inline

Definition at line 117 of file qqmljsimporter_p.h.

◆ warnings()

const QList< QQmlJS::DiagnosticMessage > & QQmlJSImporter::ImportedTypes::warnings ( ) const
inline

Definition at line 102 of file qqmljsimporter_p.h.


The documentation for this struct was generated from the following file: