aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-28 15:50:53 +0800
committerchriseth <c@ethdev.com>2015-04-22 17:33:25 +0800
commit83cc8dfe008341948306fd38e5405429753cb8d0 (patch)
treef9e8fca70aad6cbea6681f445414bb763a1637cd /CompilerStack.h
parenta44bcb6909478543151cac871fdbbc4909ad54aa (diff)
downloaddexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.gz
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.zst
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.zip
JSON compiler.
Diffstat (limited to 'CompilerStack.h')
-rw-r--r--CompilerStack.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/CompilerStack.h b/CompilerStack.h
index 2e7c217d..6f90a846 100644
--- a/CompilerStack.h
+++ b/CompilerStack.h
@@ -28,6 +28,7 @@
#include <memory>
#include <vector>
#include <boost/noncopyable.hpp>
+#include <json/json.h>
#include <libdevcore/Common.h>
#include <libdevcore/FixedHash.h>
@@ -104,7 +105,7 @@ public:
/// @arg _sourceCodes is the map of input files to source code strings
/// @arg _inJsonFromat shows whether the out should be in Json format
/// Prerequisite: Successful compilation.
- void streamAssembly(std::ostream& _outStream, std::string const& _contractName = "", StringMap _sourceCodes = StringMap(), bool _inJsonFormat = false) const;
+ Json::Value streamAssembly(std::ostream& _outStream, std::string const& _contractName = "", StringMap _sourceCodes = StringMap(), bool _inJsonFormat = false) const;
/// Returns a string representing the contract interface in JSON.
/// Prerequisite: Successful call to parse or compile.