|
| | ContextualTypes (CompileContext context, const QHash< QString, ContextualType > &types, const QMultiHash< QQmlJSScope::ConstPtr, QString > &names, const QQmlJSScope::ConstPtr &arrayType) |
| CompileContext | context () const |
| QQmlJSScope::ConstPtr | arrayType () const |
| bool | hasType (const QString &name) const |
| ContextualType | type (const QString &name) const |
| QString | name (const QQmlJSScope::ConstPtr &type) const |
| void | setType (const QString &name, const ContextualType &type) |
| void | setFileSelectedType (const QString &fileSelector, const QString &name, const ContextualType &type) |
| void | clearType (const QString &name) |
| bool | isNullType (const QString &name) const |
| void | addTypes (const ContextualTypes &types) |
| const QHash< QString, ContextualType > & | types () const |
| auto | fileSelectionsEqualRange (const QString &name) const |
| bool | hasFileSelectors () const |
| Q_QMLCOMPILER_EXPORT FileSelectorInfo | fileSelectorInfoFor (const QQmlJSScope::ConstPtr &scope) const |
| const auto & | names () const |
| QString | currentFileSelector () const |
| void | setCurrentFileSelector (const QString &selector) |
| std::optional< ContextualType > | fileSelectedTypeFor (const QString &name, const QString &selector) 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 66 of file qqmljscontextualtypes_p.h.