diff options
Diffstat (limited to 'solc/CommandLineInterface.h')
-rw-r--r-- | solc/CommandLineInterface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/solc/CommandLineInterface.h b/solc/CommandLineInterface.h index bf9400e4..97cf2183 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 to be written + void createJson(std::string const& _fileName, Json::Value const& _json); + bool m_error = false; ///< If true, some error occurred. bool m_onlyAssemble = false; |