aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-11 22:20:53 +0800
committerchriseth <c@ethdev.com>2015-11-11 22:21:01 +0800
commit34829ae7648066341dd7905e43c478ead9fbca62 (patch)
treee7143f2e5b97022c48a38776120c7a37ec44fc98 /libsolidity/ast
parent94ea61cbb5fb8a1007438c1bfea3fc7e253f1ea6 (diff)
downloaddexon-solidity-34829ae7648066341dd7905e43c478ead9fbca62.tar.gz
dexon-solidity-34829ae7648066341dd7905e43c478ead9fbca62.tar.zst
dexon-solidity-34829ae7648066341dd7905e43c478ead9fbca62.zip
Fix problems with statement blocks.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/AST.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index 1a204dca..69186cb7 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -818,6 +818,8 @@ public:
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;
+ std::vector<ASTPointer<Statement>> const& statements() const { return m_statements; }
+
private:
std::vector<ASTPointer<Statement>> m_statements;
};