diff options
Diffstat (limited to 'libsolidity/ASTPrinter.cpp')
-rw-r--r-- | libsolidity/ASTPrinter.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libsolidity/ASTPrinter.cpp b/libsolidity/ASTPrinter.cpp index a64e8490..8ed45d87 100644 --- a/libsolidity/ASTPrinter.cpp +++ b/libsolidity/ASTPrinter.cpp @@ -221,6 +221,13 @@ bool ASTPrinter::visit(Return const& _node) return goDeeper(); } +bool ASTPrinter::visit(Throw const& _node) +{ + writeLine("Throw"); + printSourcePart(_node); + return goDeeper(); +} + bool ASTPrinter::visit(VariableDeclarationStatement const& _node) { writeLine("VariableDeclarationStatement"); @@ -444,6 +451,11 @@ void ASTPrinter::endVisit(Return const&) m_indentation--; } +void ASTPrinter::endVisit(Throw const&) +{ + m_indentation--; +} + void ASTPrinter::endVisit(VariableDeclarationStatement const&) { m_indentation--; |