diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-27 10:43:20 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-28 19:58:44 +0200 |
commit | 16bc558bb29e65e84bbc9d93f730ad81de5d0dc3 (patch) | |
tree | e8664f08d2f10396481fe15aaf3889467e2e3103 /src/qmlcompiler/qqmljsscope_p.h | |
parent | 2b7016cf3724e7d9cca7beb77f82e9fb976f0c57 (diff) |
Propagate ImmediatePropertyNames through type registrar and QQmlJSScope
Change-Id: Ibaa2b86e823349ecf76e8199f2e68b8ad18d159a
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsscope_p.h b/src/qmlcompiler/qqmljsscope_p.h index 1ae2e8d037..abad6a3961 100644 --- a/src/qmlcompiler/qqmljsscope_p.h +++ b/src/qmlcompiler/qqmljsscope_p.h @@ -216,6 +216,8 @@ public: void setOwnDeferredNames(const QStringList &names) { m_ownDeferredNames = names; } QStringList ownDeferredNames() const { return m_ownDeferredNames; } + void setOwnImmediateNames(const QStringList &names) { m_ownImmediateNames = names; } + QStringList ownImmediateNames() const { return m_ownImmediateNames; } bool isNameDeferred(const QString &name) const; @@ -431,6 +433,7 @@ private: QList<Export> m_exports; QStringList m_interfaceNames; QStringList m_ownDeferredNames; + QStringList m_ownImmediateNames; QString m_defaultPropertyName; QString m_parentPropertyName; |