Provide formal version in json output.

This commit is contained in:
chriseth
2016-07-18 18:26:56 +02:00
parent 417fde3eab
commit 9a9a815fc9
3 changed files with 22 additions and 3 deletions
+2 -1
View File
@@ -124,8 +124,9 @@ public:
void link(std::map<std::string, h160> const& _libraries);
/// Tries to translate all source files into a language suitable for formal analysis.
/// @param _errors list to store errors - defaults to the internal error list.
/// @returns false on error.
bool prepareFormalAnalysis();
bool prepareFormalAnalysis(ErrorList* _errors = nullptr);
std::string const& formalTranslation() const { return m_formalTranslation; }
/// @returns the assembled object for a contract.