aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-01-09 15:05:52 +0800
committerGav Wood <i@gavwood.com>2015-01-09 15:05:52 +0800
commit90cdc52ae788d24e79800bf44473f3c8c087c1f4 (patch)
treee694b29e26288e490fcb0914bb1fee3fd63e642d
parent9740a1b5dfbf983efa13c8da4955ef9ac20dd052 (diff)
downloaddexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar
dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.gz
dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.bz2
dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.lz
dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.xz
dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.tar.zst
dexon-solidity-90cdc52ae788d24e79800bf44473f3c8c087c1f4.zip
Rename "JSON Documentation" -> Metadata.
solc integration for Solidity-format ABI.
-rw-r--r--SolidityABIJSON.cpp2
-rw-r--r--SolidityNatspecJSON.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp
index 714aa0f3..fdd0697a 100644
--- a/SolidityABIJSON.cpp
+++ b/SolidityABIJSON.cpp
@@ -50,7 +50,7 @@ public:
msg += *extra;
BOOST_FAIL(msg);
}
- std::string generatedInterfaceString = m_compilerStack.getJsonDocumentation("", DocumentationType::ABI_INTERFACE);
+ std::string generatedInterfaceString = m_compilerStack.getMetadata("", DocumentationType::ABI_INTERFACE);
Json::Value generatedInterface;
m_reader.parse(generatedInterfaceString, generatedInterface);
Json::Value expectedInterface;
diff --git a/SolidityNatspecJSON.cpp b/SolidityNatspecJSON.cpp
index 5b48a67c..f6a33247 100644
--- a/SolidityNatspecJSON.cpp
+++ b/SolidityNatspecJSON.cpp
@@ -56,9 +56,9 @@ public:
}
if (_userDocumentation)
- generatedDocumentationString = m_compilerStack.getJsonDocumentation("", DocumentationType::NATSPEC_USER);
+ generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_USER);
else
- generatedDocumentationString = m_compilerStack.getJsonDocumentation("", DocumentationType::NATSPEC_DEV);
+ generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_DEV);
Json::Value generatedDocumentation;
m_reader.parse(generatedDocumentationString, generatedDocumentation);
Json::Value expectedDocumentation;