aboutsummaryrefslogtreecommitdiffstats
path: root/solidityNatspecJSON.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-03 23:40:37 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-03 23:40:37 +0800
commit4eefbc941ef593d7649491a5f2681ecc2a61cfbe (patch)
tree5812f8d440e3fd615f16bb82af4db83260c0d288 /solidityNatspecJSON.cpp
parent2f7b263f9bc5e6bb75d0974721ca6b90cc9001e9 (diff)
downloaddexon-solidity-4eefbc941ef593d7649491a5f2681ecc2a61cfbe.tar.gz
dexon-solidity-4eefbc941ef593d7649491a5f2681ecc2a61cfbe.tar.zst
dexon-solidity-4eefbc941ef593d7649491a5f2681ecc2a61cfbe.zip
Moving all Interface and Documentation functionality to own class
- Creating the Interface Handler class which will take care of the parsing of Natspec comments and of interfacing with and outputing to JSON files. - Will also handle the ABI interface creation
Diffstat (limited to 'solidityNatspecJSON.cpp')
-rw-r--r--solidityNatspecJSON.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/solidityNatspecJSON.cpp b/solidityNatspecJSON.cpp
index f729e4ff..9e24d23e 100644
--- a/solidityNatspecJSON.cpp
+++ b/solidityNatspecJSON.cpp
@@ -55,9 +55,9 @@ public:
}
if (_userDocumentation)
- generatedDocumentationString = m_compilerStack.getUserDocumentation();
+ generatedDocumentationString = *m_compilerStack.getJsonDocumentation(NATSPEC_USER);
else
- generatedDocumentationString = m_compilerStack.getDevDocumentation();
+ generatedDocumentationString = *m_compilerStack.getJsonDocumentation(NATSPEC_DEV);
Json::Value generatedDocumentation;
m_reader.parse(generatedDocumentationString, generatedDocumentation);
Json::Value expectedDocumentation;