diff options
Diffstat (limited to 'src/qmlcompiler/qqmljsimportvisitor_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljsimportvisitor_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljsimportvisitor_p.h b/src/qmlcompiler/qqmljsimportvisitor_p.h index 4a006c9cde..e932bb5b2f 100644 --- a/src/qmlcompiler/qqmljsimportvisitor_p.h +++ b/src/qmlcompiler/qqmljsimportvisitor_p.h @@ -203,7 +203,8 @@ protected: void checkGroupedAndAttachedScopes(QQmlJSScope::ConstPtr scope); QQmlJSLogger *m_logger; - bool parseLiteralBinding(const QString name, const QQmlJS::AST::Statement *statement); + enum class LiteralOrScriptParseResult { Invalid, Script, Literal }; + LiteralOrScriptParseResult parseLiteralOrScriptBinding(const QString name, const QQmlJS::AST::Statement *statement); // Used to temporarily store annotations for functions and generators wrapped in UiSourceElements QVector<QQmlJSAnnotation> m_pendingMethodAnnotations; |