aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-21 18:16:18 +0800
committerChristian <c@ethdev.com>2015-01-26 17:23:39 +0800
commit19793dab093ae36b5f2b4d1cabfbf54bed3125b1 (patch)
tree94070079e892a1681fa82a0d4a9db315ce152573 /AST.cpp
parent570e49c03ab9e09d538218839696fc6159b0a2f1 (diff)
downloaddexon-solidity-19793dab093ae36b5f2b4d1cabfbf54bed3125b1.tar.gz
dexon-solidity-19793dab093ae36b5f2b4d1cabfbf54bed3125b1.tar.zst
dexon-solidity-19793dab093ae36b5f2b4d1cabfbf54bed3125b1.zip
Function modifier parsing.
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/AST.cpp b/AST.cpp
index 82667367..a51bbd0c 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -183,6 +183,11 @@ string FunctionDefinition::getCanonicalSignature() const
return getName() + FunctionType(*this).getCanonicalSignature();
}
+void ModifierDefinition::checkTypeRequirements()
+{
+ m_body->checkTypeRequirements();
+}
+
void Block::checkTypeRequirements()
{
for (shared_ptr<Statement> const& statement: m_statements)