diff options
author | Christian <c@ethdev.com> | 2015-01-22 08:02:38 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-26 17:23:39 +0800 |
commit | 941c77c8fadd6195809cd2d572feb64478c4fb20 (patch) | |
tree | a4de3710aff5f3f2d9423565fd0e9ecc8708b5bf /ASTPrinter.cpp | |
parent | 19793dab093ae36b5f2b4d1cabfbf54bed3125b1 (diff) | |
download | dexon-solidity-941c77c8fadd6195809cd2d572feb64478c4fb20.tar dexon-solidity-941c77c8fadd6195809cd2d572feb64478c4fb20.tar.gz dexon-solidity-941c77c8fadd6195809cd2d572feb64478c4fb20.tar.bz2 dexon-solidity-941c77c8fadd6195809cd2d572feb64478c4fb20.tar.lz dexon-solidity-941c77c8fadd6195809cd2d572feb64478c4fb20.tar.xz dexon-solidity-941c77c8fadd6195809cd2d572feb64478c4fb20.tar.zst dexon-solidity-941c77c8fadd6195809cd2d572feb64478c4fb20.zip |
Type resolution for function modifiers.
Diffstat (limited to 'ASTPrinter.cpp')
-rw-r--r-- | ASTPrinter.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ASTPrinter.cpp b/ASTPrinter.cpp index 86cd028a..85bc8825 100644 --- a/ASTPrinter.cpp +++ b/ASTPrinter.cpp @@ -94,6 +94,13 @@ bool ASTPrinter::visit(ModifierDefinition const& _node) return goDeeper(); } +bool ASTPrinter::visit(ModifierInvocation const& _node) +{ + writeLine("ModifierInvocation \"" + _node.getName()->getName() + "\""); + printSourcePart(_node); + return goDeeper(); +} + bool ASTPrinter::visit(TypeName const& _node) { writeLine("TypeName"); @@ -341,6 +348,11 @@ void ASTPrinter::endVisit(ModifierDefinition const&) m_indentation--; } +void ASTPrinter::endVisit(ModifierInvocation const&) +{ + m_indentation--; +} + void ASTPrinter::endVisit(TypeName const&) { m_indentation--; |