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>.
|
#include <qqmljscontextualtypes_p.h>
Public Types | |
enum | CompileContext { INTERNAL , QML } |
Public Member Functions | |
ContextualTypes (CompileContext context, const QHash< QString, ImportedScope< QQmlJSScope::ConstPtr > > types, const QQmlJSScope::ConstPtr &arrayType) | |
CompileContext | context () const |
QQmlJSScope::ConstPtr | arrayType () const |
bool | hasType (const QString &name) const |
ImportedScope< QQmlJSScope::ConstPtr > | type (const QString &name) const |
QString | name (const QQmlJSScope::ConstPtr &type) const |
void | setType (const QString &name, const ImportedScope< QQmlJSScope::ConstPtr > &type) |
void | clearType (const QString &name) |
bool | isNullType (const QString &name) const |
void | addTypes (ContextualTypes &&types) |
void | addTypes (const ContextualTypes &types) |
const QHash< QString, ImportedScope< QQmlJSScope::ConstPtr > > & | types () const |
void | clearTypes () |
Maps type names to types and the compile context of the types. The context can be INTERNAL (for c++ and synthetic jsrootgen types) or QML (for qml types).
Definition at line 28 of file qqmljscontextualtypes_p.h.
Enumerator | |
---|---|
INTERNAL | |
QML |
Definition at line 30 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 32 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 77 of file qqmljscontextualtypes_p.h.
References Q_ASSERT.
|
inline |
Definition at line 70 of file qqmljscontextualtypes_p.h.
References Q_ASSERT.
Referenced by QQmlJSImportVisitor::visit().
|
inline |
Definition at line 42 of file qqmljscontextualtypes_p.h.
Definition at line 55 of file qqmljscontextualtypes_p.h.
References it.
|
inline |
Definition at line 86 of file qqmljscontextualtypes_p.h.
Referenced by QQmlJSTypeResolver::init().
|
inline |
Definition at line 41 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 44 of file qqmljscontextualtypes_p.h.
Referenced by QQmlJSImportVisitor::endVisit(), and QQmlJSImportVisitor::visit().
|
inline |
Definition at line 64 of file qqmljscontextualtypes_p.h.
References it.
Referenced by QQmlJSImportVisitor::isImportPrefix().
|
inline |
Definition at line 47 of file qqmljscontextualtypes_p.h.
|
inline |
Definition at line 49 of file qqmljscontextualtypes_p.h.
Referenced by QQmlJSImportVisitor::visit().
|
inline |
Definition at line 46 of file qqmljscontextualtypes_p.h.
Referenced by QQmlJSImportVisitor::endVisit(), QQmlJSTypeResolver::typeFromAST(), and QQmlJSImportVisitor::visit().
|
inline |
Definition at line 84 of file qqmljscontextualtypes_p.h.
Referenced by QQmlJSImportVisitor::breakInheritanceCycles().