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::ImportedScope< QQmlJSScope::ConstPtr > &type)
bool isNullType (const QString &name) const
const QHash< QString, QQmlJS::ImportedScope< QQmlJSScope::ConstPtr > > & types () const
void add (ImportedTypes &&other)
void addWarnings (QList< QQmlJS::DiagnosticMessage > &&warnings)

Detailed Description

Definition at line 76 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 77 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 114 of file qqmljsimporter_p.h.

◆ addWarnings()

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

Definition at line 120 of file qqmljsimporter_p.h.

◆ clear()

void QQmlJSImporter::ImportedTypes::clear ( )
inline

Definition at line 87 of file qqmljsimporter_p.h.

◆ contextualTypes()

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

Definition at line 93 of file qqmljsimporter_p.h.

◆ hasType()

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

Definition at line 98 of file qqmljsimporter_p.h.

◆ isEmpty()

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

Definition at line 96 of file qqmljsimporter_p.h.

◆ isNullType()

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

Definition at line 108 of file qqmljsimporter_p.h.

◆ name()

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

Definition at line 103 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::ImportedScope< QQmlJSScope::ConstPtr > & type )
inline

Definition at line 104 of file qqmljsimporter_p.h.

◆ type()

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

Definition at line 99 of file qqmljsimporter_p.h.

◆ types()

const QHash< QString, QQmlJS::ImportedScope< QQmlJSScope::ConstPtr > > & QQmlJSImporter::ImportedTypes::types ( ) const
inline

Definition at line 109 of file qqmljsimporter_p.h.

◆ warnings()

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

Definition at line 94 of file qqmljsimporter_p.h.


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