diff options
author | chriseth <chris@ethereum.org> | 2016-08-23 23:14:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-23 23:14:13 +0800 |
commit | cab0f5448f269e03524c13720fb850a482266537 (patch) | |
tree | 487f2fb9e45ecae63a95306637533d4758e9c220 /libsolidity/ast/ASTJsonConverter.h | |
parent | 9a2d1a737fa8d5248e81703210151c16c3030084 (diff) | |
parent | 35276d99e0e3bc37bcd655c29e399e69ad5ceaec (diff) | |
download | dexon-solidity-cab0f5448f269e03524c13720fb850a482266537.tar dexon-solidity-cab0f5448f269e03524c13720fb850a482266537.tar.gz dexon-solidity-cab0f5448f269e03524c13720fb850a482266537.tar.bz2 dexon-solidity-cab0f5448f269e03524c13720fb850a482266537.tar.lz dexon-solidity-cab0f5448f269e03524c13720fb850a482266537.tar.xz dexon-solidity-cab0f5448f269e03524c13720fb850a482266537.tar.zst dexon-solidity-cab0f5448f269e03524c13720fb850a482266537.zip |
Merge pull request #921 from chriseth/astjsoncleanup
JSON AST: Some attribute cleanup. Add linearized base contracts.
Diffstat (limited to 'libsolidity/ast/ASTJsonConverter.h')
-rw-r--r-- | libsolidity/ast/ASTJsonConverter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.h b/libsolidity/ast/ASTJsonConverter.h index 192c4c4f..97aa8654 100644 --- a/libsolidity/ast/ASTJsonConverter.h +++ b/libsolidity/ast/ASTJsonConverter.h @@ -141,11 +141,10 @@ public: private: void process(); - void addKeyValue(Json::Value& _obj, std::string const& _key, std::string const& _val); void addJsonNode( ASTNode const& _node, std::string const& _nodeName, - std::initializer_list<std::pair<std::string const, std::string const>> _list, + std::initializer_list<std::pair<std::string const, Json::Value const>> _attributes, bool _hasChildren ); std::string sourceLocationToString(SourceLocation const& _location) const; |