From 279a36b6f8249df48b92574437f57742897841a5 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Tue, 15 Sep 2015 16:33:14 +0200 Subject: throw statement implementation --- libsolidity/ASTVisitor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libsolidity/ASTVisitor.h') diff --git a/libsolidity/ASTVisitor.h b/libsolidity/ASTVisitor.h index f7847220..e665396c 100644 --- a/libsolidity/ASTVisitor.h +++ b/libsolidity/ASTVisitor.h @@ -69,6 +69,7 @@ public: virtual bool visit(Continue& _node) { return visitNode(_node); } virtual bool visit(Break& _node) { return visitNode(_node); } virtual bool visit(Return& _node) { return visitNode(_node); } + virtual bool visit(Throw& _node) { return visitNode(_node); } virtual bool visit(VariableDeclarationStatement& _node) { return visitNode(_node); } virtual bool visit(ExpressionStatement& _node) { return visitNode(_node); } virtual bool visit(Assignment& _node) { return visitNode(_node); } @@ -108,6 +109,7 @@ public: virtual void endVisit(Continue& _node) { endVisitNode(_node); } virtual void endVisit(Break& _node) { endVisitNode(_node); } virtual void endVisit(Return& _node) { endVisitNode(_node); } + virtual void endVisit(Throw& _node) { endVisitNode(_node); } virtual void endVisit(VariableDeclarationStatement& _node) { endVisitNode(_node); } virtual void endVisit(ExpressionStatement& _node) { endVisitNode(_node); } virtual void endVisit(Assignment& _node) { endVisitNode(_node); } @@ -159,6 +161,7 @@ public: virtual bool visit(Continue const& _node) { return visitNode(_node); } virtual bool visit(Break const& _node) { return visitNode(_node); } virtual bool visit(Return const& _node) { return visitNode(_node); } + virtual bool visit(Throw const& _node) { return visitNode(_node); } virtual bool visit(VariableDeclarationStatement const& _node) { return visitNode(_node); } virtual bool visit(ExpressionStatement const& _node) { return visitNode(_node); } virtual bool visit(Assignment const& _node) { return visitNode(_node); } @@ -198,6 +201,7 @@ public: virtual void endVisit(Continue const& _node) { endVisitNode(_node); } virtual void endVisit(Break const& _node) { endVisitNode(_node); } virtual void endVisit(Return const& _node) { endVisitNode(_node); } + virtual void endVisit(Throw const& _node) { endVisitNode(_node); } virtual void endVisit(VariableDeclarationStatement const& _node) { endVisitNode(_node); } virtual void endVisit(ExpressionStatement const& _node) { endVisitNode(_node); } virtual void endVisit(Assignment const& _node) { endVisitNode(_node); } -- cgit v1.2.3