aboutsummaryrefslogtreecommitdiffstats
path: root/AST_accept.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-10 01:08:56 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commita295417f3476428c286f96433a42a96bfe29fee3 (patch)
treee5f9b374407dfcdc4f11943d91df69e4ec559b0a /AST_accept.h
parent54ed8877aa673fd6765c1238bcef598331ae41ae (diff)
downloaddexon-solidity-a295417f3476428c286f96433a42a96bfe29fee3.tar.gz
dexon-solidity-a295417f3476428c286f96433a42a96bfe29fee3.tar.zst
dexon-solidity-a295417f3476428c286f96433a42a96bfe29fee3.zip
Parsing enums for Solidity - WIP
Diffstat (limited to 'AST_accept.h')
-rw-r--r--AST_accept.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/AST_accept.h b/AST_accept.h
index 38108cd7..15f6b7ee 100644
--- a/AST_accept.h
+++ b/AST_accept.h
@@ -112,6 +112,18 @@ void StructDefinition::accept(ASTVisitor& _visitor)
_visitor.endVisit(*this);
}
+void EnumDefinition::accept(ASTVisitor& _visitor)
+{
+ _visitor.visit(*this)
+ _visitor.endVisit(*this);
+}
+
+void EnumDefinition::accept(ASTConstVisitor& _visitor) const
+{
+ _visitor.visit(*this)
+ _visitor.endVisit(*this);
+}
+
void StructDefinition::accept(ASTConstVisitor& _visitor) const
{
if (_visitor.visit(*this))