aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsscope_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-01-20 12:17:42 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-01-20 13:33:52 +0100
commit3ae2a6a47c960d159e1110b434795fc69ecf3d80 (patch)
treebb703e7dc88eaedb2ac064a345008295eec20fd2 /src/qmlcompiler/qqmljsscope_p.h
parentbf573ad295fbc1eee9379bfaafcded293c4b81f4 (diff)
qmllint: Support extended types
Fixes: QTBUG-90448 Change-Id: I5fb6b3d9223ae95ca7e039c5b9139ed086052c29 Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsscope_p.h')
-rw-r--r--src/qmlcompiler/qqmljsscope_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsscope_p.h b/src/qmlcompiler/qqmljsscope_p.h
index f0833a18a0..1902c46263 100644
--- a/src/qmlcompiler/qqmljsscope_p.h
+++ b/src/qmlcompiler/qqmljsscope_p.h
@@ -218,6 +218,10 @@ public:
void setAttachedTypeName(const QString &name) { m_attachedTypeName = name; }
QQmlJSScope::ConstPtr attachedType() const { return m_attachedType; }
+ QString extensionTypeName() const { return m_extensionTypeName; }
+ void setExtensionTypeName(const QString &name) { m_extensionTypeName = name; }
+ QQmlJSScope::ConstPtr extensionType() const { return m_extensionType; }
+
QString valueTypeName() const { return m_valueTypeName; }
void setValueTypeName(const QString &name) { m_valueTypeName = name; }
QQmlJSScope::ConstPtr valueType() const { return m_valueType; }
@@ -304,6 +308,9 @@ private:
QString m_valueTypeName;
QQmlJSScope::WeakConstPtr m_valueType;
+ QString m_extensionTypeName;
+ QQmlJSScope::WeakConstPtr m_extensionType;
+
Flags m_flags;
AccessSemantics m_semantics = AccessSemantics::Reference;