diff options
author | LianaHus <liana@ethdev.com> | 2015-09-15 22:33:14 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-09-16 19:25:32 +0800 |
commit | 279a36b6f8249df48b92574437f57742897841a5 (patch) | |
tree | b40646e4a672ed61610c15a8e3bd28040436acae /libsolidity/AST_accept.h | |
parent | 9d43f2c186d1ad4027d42f6b155bea5500efa0e5 (diff) | |
download | dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar.gz dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar.bz2 dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar.lz dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar.xz dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.tar.zst dexon-solidity-279a36b6f8249df48b92574437f57742897841a5.zip |
throw statement implementation
Diffstat (limited to 'libsolidity/AST_accept.h')
-rw-r--r-- | libsolidity/AST_accept.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libsolidity/AST_accept.h b/libsolidity/AST_accept.h index 3557f877..d07c2cd0 100644 --- a/libsolidity/AST_accept.h +++ b/libsolidity/AST_accept.h @@ -491,6 +491,18 @@ void Return::accept(ASTConstVisitor& _visitor) const _visitor.endVisit(*this); } +void Throw::accept(ASTVisitor& _visitor) +{ + if (_visitor.visit(*this)) + _visitor.endVisit(*this); +} + +void Throw::accept(ASTConstVisitor& _visitor) const +{ + if (_visitor.visit(*this)) + _visitor.endVisit(*this); +} + void ExpressionStatement::accept(ASTVisitor& _visitor) { if (_visitor.visit(*this)) |