diff options
Diffstat (limited to 'src/qmlcompiler/qqmljsimportvisitor_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljsimportvisitor_p.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsimportvisitor_p.h b/src/qmlcompiler/qqmljsimportvisitor_p.h index e93080c28d..cecf4993b2 100644 --- a/src/qmlcompiler/qqmljsimportvisitor_p.h +++ b/src/qmlcompiler/qqmljsimportvisitor_p.h @@ -119,6 +119,14 @@ protected: QQmlJSScope::ConstPtr m_globalScope; QHash<QString, QQmlJSScope::ConstPtr> m_scopesById; QHash<QString, QQmlJSScope::ConstPtr> m_rootScopeImports; + + // Maps all qmlNames to the source location of their import + QMultiHash<QString, QQmlJS::SourceLocation> m_importTypeLocationMap; + // Contains all import source locations (could be extracted from above but that is expensive) + QSet<QQmlJS::SourceLocation> m_importLocations; + // A set of all types that have been used during type resolution + QSet<QString> m_usedTypes; + QQmlJSImporter *m_importer; QList<QQmlJS::DiagnosticMessage> m_errors; |