diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-11-20 13:20:52 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2020-11-23 10:06:41 +0100 |
commit | 588d624837ae0174139f8db930ad20612463b1dd (patch) | |
tree | 13ef2dba7f6cc9ec4f22fe517c2c16f01db3ad06 /src/qmlcompiler/qqmljstypedescriptionreader_p.h | |
parent | 87533900738d65ad278722b292852c998e987c10 (diff) |
qmltyperegistrar: Expose interface information
Change-Id: Ica3f5c6696542921bc8d399cd46d901ba06f6d83
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljstypedescriptionreader_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljstypedescriptionreader_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljstypedescriptionreader_p.h b/src/qmlcompiler/qqmljstypedescriptionreader_p.h index 770a53f01d..f99cda0605 100644 --- a/src/qmlcompiler/qqmljstypedescriptionreader_p.h +++ b/src/qmlcompiler/qqmljstypedescriptionreader_p.h @@ -80,12 +80,15 @@ private: QTypeRevision readNumericVersionBinding(QQmlJS::AST::UiScriptBinding *ast); int readIntBinding(QQmlJS::AST::UiScriptBinding *ast); void readExports(QQmlJS::AST::UiScriptBinding *ast, const QQmlJSScope::Ptr &scope); + void readInterfaces(QQmlJS::AST::UiScriptBinding *ast, const QQmlJSScope::Ptr &scope); void readMetaObjectRevisions(QQmlJS::AST::UiScriptBinding *ast, const QQmlJSScope::Ptr &scope); void readEnumValues(QQmlJS::AST::UiScriptBinding *ast, QQmlJSMetaEnum *metaEnum); void addError(const QQmlJS::SourceLocation &loc, const QString &message); void addWarning(const QQmlJS::SourceLocation &loc, const QString &message); + QQmlJS::AST::ArrayPattern *getArray(QQmlJS::AST::UiScriptBinding *ast); + QString m_fileName; QString m_source; QString m_errorMessage; |