aboutsummaryrefslogtreecommitdiffstats
path: root/ASTPrinter.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-16 00:45:18 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-17 07:03:30 +0800
commitf7029726be3bbf119548a83696402512374d809d (patch)
tree4ba52a22a933d3f2779c8b0301f097b6ffde7ffa /ASTPrinter.h
parent5b802b685e794832bf8834183bf6c9604e513bbf (diff)
downloaddexon-solidity-f7029726be3bbf119548a83696402512374d809d.tar
dexon-solidity-f7029726be3bbf119548a83696402512374d809d.tar.gz
dexon-solidity-f7029726be3bbf119548a83696402512374d809d.tar.bz2
dexon-solidity-f7029726be3bbf119548a83696402512374d809d.tar.lz
dexon-solidity-f7029726be3bbf119548a83696402512374d809d.tar.xz
dexon-solidity-f7029726be3bbf119548a83696402512374d809d.tar.zst
dexon-solidity-f7029726be3bbf119548a83696402512374d809d.zip
Adding a ForStatement solidity AST Node.
- Adding ForStatement node - Implemented Parsing for ForStatement - A simple parsing test for the ForStatement - Work in progress
Diffstat (limited to 'ASTPrinter.h')
-rw-r--r--ASTPrinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ASTPrinter.h b/ASTPrinter.h
index 15b65e3f..fc5fb4ac 100644
--- a/ASTPrinter.h
+++ b/ASTPrinter.h
@@ -57,6 +57,7 @@ public:
bool visit(IfStatement const& _node) override;
bool visit(BreakableStatement const& _node) override;
bool visit(WhileStatement const& _node) override;
+ bool visit(ForStatement const& _node) override;
bool visit(Continue const& _node) override;
bool visit(Break const& _node) override;
bool visit(Return const& _node) override;
@@ -90,6 +91,7 @@ public:
void endVisit(IfStatement const&) override;
void endVisit(BreakableStatement const&) override;
void endVisit(WhileStatement const&) override;
+ void endVisit(ForStatement const&) override;
void endVisit(Continue const&) override;
void endVisit(Break const&) override;
void endVisit(Return const&) override;