aboutsummaryrefslogtreecommitdiffstats
path: root/solc/CommandLineInterface.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-09-13 19:21:48 +0800
committerGitHub <noreply@github.com>2017-09-13 19:21:48 +0800
commit72b7e001aa837ab59b3b14bfbabf69bbd102ded1 (patch)
treeb8eff1420200fa78a3d085453fdfe1854a5770ba /solc/CommandLineInterface.h
parent1eb49fb144dbf472a54d6c64dedf87c6c4280139 (diff)
parent61dabb2f29362728b0b57a73680c23463e0b73f6 (diff)
downloaddexon-solidity-72b7e001aa837ab59b3b14bfbabf69bbd102ded1.tar
dexon-solidity-72b7e001aa837ab59b3b14bfbabf69bbd102ded1.tar.gz
dexon-solidity-72b7e001aa837ab59b3b14bfbabf69bbd102ded1.tar.bz2
dexon-solidity-72b7e001aa837ab59b3b14bfbabf69bbd102ded1.tar.lz
dexon-solidity-72b7e001aa837ab59b3b14bfbabf69bbd102ded1.tar.xz
dexon-solidity-72b7e001aa837ab59b3b14bfbabf69bbd102ded1.tar.zst
dexon-solidity-72b7e001aa837ab59b3b14bfbabf69bbd102ded1.zip
Merge pull request #2290 from ali92hm/develop
Enabling --combined-json to output to file using the -o flag
Diffstat (limited to 'solc/CommandLineInterface.h')
-rw-r--r--solc/CommandLineInterface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/solc/CommandLineInterface.h b/solc/CommandLineInterface.h
index bf9400e4..4768c9d8 100644
--- a/solc/CommandLineInterface.h
+++ b/solc/CommandLineInterface.h
@@ -81,6 +81,11 @@ private:
/// @arg _data to be written
void createFile(std::string const& _fileName, std::string const& _data);
+ /// Create a json file in the given directory
+ /// @arg _fileName the name of the file (the extension will be replaced with .json)
+ /// @arg _json json string to be written
+ void createJson(std::string const& _fileName, std::string const& _json);
+
bool m_error = false; ///< If true, some error occurred.
bool m_onlyAssemble = false;