diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-21 16:06:20 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-27 09:23:30 +0100 |
commit | ed8127cf41951a9ff1d6032c2158e49fdebe51c3 (patch) | |
tree | 12e74c92f9c9a9ee940e4bde91ba4132454c1dd8 /src/qmlcompiler/qqmljsscope_p.h | |
parent | 23813a319898e8951645a9f9bec5813090fd3a85 (diff) |
QmlCompiler: Introduce grouped scopes
This way we can analyze the left hand part of things like
"anchors.fill: parent" in qmllint.
Change-Id: I0f58312566c3d5062e0fb301c2bad908ab8b8cbb
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsscope_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljsscope_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljsscope_p.h b/src/qmlcompiler/qqmljsscope_p.h index 175b2ecda1..99645a8071 100644 --- a/src/qmlcompiler/qqmljsscope_p.h +++ b/src/qmlcompiler/qqmljsscope_p.h @@ -94,7 +94,8 @@ public: { JSFunctionScope, JSLexicalScope, - QMLScope + QMLScope, + GroupedPropertyScope }; enum class AccessSemantics { @@ -221,6 +222,7 @@ public: } void resolveTypes(const QHash<QString, ConstPtr> &contextualTypes); + void resolveGroupedScopes(); void setSourceLocation(const QQmlJS::SourceLocation &sourceLocation) { |