diff options
author | chriseth <chris@ethereum.org> | 2017-08-29 23:07:32 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-09-06 19:50:49 +0800 |
commit | 342367d5dcb897d1ef3bbc00853538859773ed37 (patch) | |
tree | a8201102ef9e0176e33b1cc35783a4dd7c7abfca /libsolidity/ast/ASTJsonConverter.cpp | |
parent | eacee5b25c1edbcf3e32128bd28bce5e58fc2a74 (diff) | |
download | dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar.gz dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.tar.zst dexon-solidity-342367d5dcb897d1ef3bbc00853538859773ed37.zip |
Store super function.
Diffstat (limited to 'libsolidity/ast/ASTJsonConverter.cpp')
-rw-r--r-- | libsolidity/ast/ASTJsonConverter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp index afc53bfe..6811d3e4 100644 --- a/libsolidity/ast/ASTJsonConverter.cpp +++ b/libsolidity/ast/ASTJsonConverter.cpp @@ -328,6 +328,7 @@ bool ASTJsonConverter::visit(FunctionDefinition const& _node) make_pair(m_legacy ? "constant" : "isDeclaredConst", _node.stateMutability() <= StateMutability::View), make_pair("payable", _node.isPayable()), make_pair("stateMutability", stateMutabilityToString(_node.stateMutability())), + make_pair("superFunction", idOrNull(_node.annotation().superFunction)), make_pair("visibility", Declaration::visibilityToString(_node.visibility())), make_pair("parameters", toJson(_node.parameterList())), make_pair("isConstructor", _node.isConstructor()), |