diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2011-12-02 16:53:32 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-06 08:58:39 +0100 |
commit | 37b42a135cb9c5c7ea10756b4b6896272c490ced (patch) | |
tree | 6e5d97ef7ea238ba102effa6bcc68269bf8f6139 /src/declarative/qml/v4 | |
parent | e9a0aa7dd30566b1da6fd9e56e638aa4846a132b (diff) |
Introduce methods to get the source location of the AST nodes.
Also removed deprecate AST nodes.
Change-Id: I9221e81b15b18530bb2ab8b09da2482df543bace
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/declarative/qml/v4')
-rw-r--r-- | src/declarative/qml/v4/qv4irbuilder.cpp | 18 | ||||
-rw-r--r-- | src/declarative/qml/v4/qv4irbuilder_p.h | 3 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/declarative/qml/v4/qv4irbuilder.cpp b/src/declarative/qml/v4/qv4irbuilder.cpp index c65b348c9f..389533eb60 100644 --- a/src/declarative/qml/v4/qv4irbuilder.cpp +++ b/src/declarative/qml/v4/qv4irbuilder.cpp @@ -314,24 +314,6 @@ bool QV4IRBuilder::visit(AST::UiQualifiedId *) return false; } -bool QV4IRBuilder::visit(AST::UiSignature *) -{ - Q_ASSERT(!"unreachable"); - return false; -} - -bool QV4IRBuilder::visit(AST::UiFormalList *) -{ - Q_ASSERT(!"unreachable"); - return false; -} - -bool QV4IRBuilder::visit(AST::UiFormal *) -{ - Q_ASSERT(!"unreachable"); - return false; -} - // JS bool QV4IRBuilder::visit(AST::Program *) diff --git a/src/declarative/qml/v4/qv4irbuilder_p.h b/src/declarative/qml/v4/qv4irbuilder_p.h index 28df5c4245..ed21fc9e99 100644 --- a/src/declarative/qml/v4/qv4irbuilder_p.h +++ b/src/declarative/qml/v4/qv4irbuilder_p.h @@ -131,9 +131,6 @@ protected: virtual bool visit(QDeclarativeJS::AST::UiObjectMemberList *ast); virtual bool visit(QDeclarativeJS::AST::UiArrayMemberList *ast); virtual bool visit(QDeclarativeJS::AST::UiQualifiedId *ast); - virtual bool visit(QDeclarativeJS::AST::UiSignature *ast); - virtual bool visit(QDeclarativeJS::AST::UiFormalList *ast); - virtual bool visit(QDeclarativeJS::AST::UiFormal *ast); // JS virtual bool visit(QDeclarativeJS::AST::Program *ast); |