diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-01 14:23:27 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-05 14:58:36 +0200 |
commit | d200ccf92017ebc10a4ccdb5d944e1d803b87c1d (patch) | |
tree | 1dc85350482238423143ac71740b834fa6e8d240 /tools/qmllint/findwarnings.h | |
parent | 767dd738d3de9306062707fe05d32c91ed755da3 (diff) |
QmlCompiler: Rename ScopeTree to QQmlJSScope
That is a better name.
Change-Id: I34a6867692a236dd16ed8e3a68866f994eab02d2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/findwarnings.h')
-rw-r--r-- | tools/qmllint/findwarnings.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/qmllint/findwarnings.h b/tools/qmllint/findwarnings.h index 2f5007b124..111eb6c5b0 100644 --- a/tools/qmllint/findwarnings.h +++ b/tools/qmllint/findwarnings.h @@ -43,7 +43,7 @@ #include "checkidentifiers.h" #include <QtQmlCompiler/private/typedescriptionreader_p.h> -#include <QtQmlCompiler/private/scopetree_p.h> +#include <QtQmlCompiler/private/qqmljsscope_p.h> #include <QtQmlCompiler/private/qmljsimporter_p.h> #include <QtQml/private/qqmldirparser_p.h> @@ -70,12 +70,12 @@ private: MemberAccessChains m_memberAccessChains; - ScopeTree::Ptr m_rootScope; - ScopeTree::Ptr m_currentScope; + QQmlJSScope::Ptr m_rootScope; + QQmlJSScope::Ptr m_currentScope; QQmlJS::AST::ExpressionNode *m_fieldMemberBase = nullptr; QStringList m_qmltypesFiles; QString m_code; - QHash<QString, ScopeTree::ConstPtr> m_qmlid2scope; + QHash<QString, QQmlJSScope::ConstPtr> m_qmlid2scope; QString m_rootId; QString m_filePath; QSet<QString> m_unknownImports; @@ -89,7 +89,7 @@ private: struct OutstandingConnection { QString targetName; - ScopeTree::Ptr scope; + QQmlJSScope::Ptr scope; QQmlJS::AST::UiObjectDefinition *uiod; }; @@ -100,10 +100,10 @@ private: void enterEnvironment(ScopeType type, const QString &name); void leaveEnvironment(); - void importExportedNames(ScopeTree::ConstPtr scope); + void importExportedNames(QQmlJSScope::ConstPtr scope); void parseHeaders(QQmlJS::AST::UiHeaderItemList *headers); - ScopeTree::Ptr parseProgram(QQmlJS::AST::Program *program, const QString &name); + QQmlJSScope::Ptr parseProgram(QQmlJS::AST::Program *program, const QString &name); void flushPendingSignalParameters(); void throwRecursionDepthError() override; |