aboutsummaryrefslogtreecommitdiffstats
path: root/ASTVisitor.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 /ASTVisitor.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 'ASTVisitor.h')
-rw-r--r--ASTVisitor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ASTVisitor.h b/ASTVisitor.h
index 29490277..b05ec658 100644
--- a/ASTVisitor.h
+++ b/ASTVisitor.h
@@ -47,6 +47,7 @@ public:
virtual bool visit(ContractDefinition&) { return true; }
virtual bool visit(InheritanceSpecifier&) { return true; }
virtual bool visit(StructDefinition&) { return true; }
+ virtual bool visit(EnumDefinition&) { return true; }
virtual bool visit(ParameterList&) { return true; }
virtual bool visit(FunctionDefinition&) { return true; }
virtual bool visit(VariableDeclaration&) { return true; }
@@ -88,6 +89,7 @@ public:
virtual void endVisit(ContractDefinition&) { }
virtual void endVisit(InheritanceSpecifier&) { }
virtual void endVisit(StructDefinition&) { }
+ virtual void endVisit(EnumDefinition&) { }
virtual void endVisit(ParameterList&) { }
virtual void endVisit(FunctionDefinition&) { }
virtual void endVisit(VariableDeclaration&) { }
@@ -133,6 +135,7 @@ public:
virtual bool visit(ContractDefinition const&) { return true; }
virtual bool visit(InheritanceSpecifier const&) { return true; }
virtual bool visit(StructDefinition const&) { return true; }
+ virtual bool visit(EnumDefinition const&) { return true; }
virtual bool visit(ParameterList const&) { return true; }
virtual bool visit(FunctionDefinition const&) { return true; }
virtual bool visit(VariableDeclaration const&) { return true; }
@@ -174,6 +177,7 @@ public:
virtual void endVisit(ContractDefinition const&) { }
virtual void endVisit(InheritanceSpecifier const&) { }
virtual void endVisit(StructDefinition const&) { }
+ virtual void endVisit(EnumDefinition const&) { }
virtual void endVisit(ParameterList const&) { }
virtual void endVisit(FunctionDefinition const&) { }
virtual void endVisit(VariableDeclaration const&) { }