From b09a48599e7e5db5447189136353b79aca3898cf Mon Sep 17 00:00:00 2001 From: Fawzi Mohamed Date: Fri, 28 Feb 2020 17:51:32 +0100 Subject: Update qmljs parser to Qt 5.15 parser * parser side support for annotations, inline components, new UiVersion and all the things included in QT 5.15 parser * SourceLocation moved from QmlJS:AST to QmlJS * Visitors now need to handle throwRecursionDepthError * BaseVisitor for visitors that want to override all visit Task-number: QTCREATORBUG-23591 Change-Id: I682a30d0b08b6c929739fd0e339ef6fbde3eb630 Reviewed-by: Fabian Kosmale Reviewed-by: Simon Hausmann --- src/plugins/qmljstools/qmljsrefactoringchanges.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/qmljstools/qmljsrefactoringchanges.h') diff --git a/src/plugins/qmljstools/qmljsrefactoringchanges.h b/src/plugins/qmljstools/qmljsrefactoringchanges.h index 2d6f5788d4..7d4bf37546 100644 --- a/src/plugins/qmljstools/qmljsrefactoringchanges.h +++ b/src/plugins/qmljstools/qmljsrefactoringchanges.h @@ -49,11 +49,11 @@ public: \returns the offset in the document for the start position of the given source location. */ - unsigned startOf(const QmlJS::AST::SourceLocation &loc) const; + unsigned startOf(const QmlJS::SourceLocation &loc) const; bool isCursorOn(QmlJS::AST::UiObjectMember *ast) const; bool isCursorOn(QmlJS::AST::UiQualifiedId *ast) const; - bool isCursorOn(QmlJS::AST::SourceLocation loc) const; + bool isCursorOn(QmlJS::SourceLocation loc) const; protected: QmlJSRefactoringFile(const QString &fileName, const QSharedPointer &data); -- cgit v1.2.1