mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename InterfaceHandler to Natspec
This commit is contained in:
1 parent
12328b7848
commit
81877cc594
5 files changed
+11
-12
No files matched your search
@@ -38,7 +38,7 @@
|
||||
#include <libsolidity/analysis/SyntaxChecker.h>
|
||||
#include <libsolidity/codegen/Compiler.h>
|
||||
#include <libsolidity/interface/ABI.h>
|
||||
#include <libsolidity/interface/InterfaceHandler.h>
|
||||
#include <libsolidity/interface/Natspec.h>
|
||||
#include <libsolidity/interface/GasEstimator.h>
|
||||
#include <libsolidity/formal/Why3Translator.h>
|
||||
|
||||
@@ -220,8 +220,8 @@ bool CompilerStack::analyze()
|
||||
TypeChecker typeChecker(m_errors);
|
||||
if (typeChecker.checkTypeRequirements(*contract))
|
||||
{
|
||||
contract->setDevDocumentation(InterfaceHandler::devDocumentation(*contract));
|
||||
contract->setUserDocumentation(InterfaceHandler::userDocumentation(*contract));
|
||||
contract->setDevDocumentation(Natspec::devDocumentation(*contract));
|
||||
contract->setUserDocumentation(Natspec::userDocumentation(*contract));
|
||||
}
|
||||
else
|
||||
noErrors = false;
|
||||
@@ -492,7 +492,7 @@ Json::Value const& CompilerStack::metadata(Contract const& _contract, Documentat
|
||||
|
||||
// caches the result
|
||||
if (!*doc)
|
||||
doc->reset(new Json::Value(InterfaceHandler::documentation(*_contract.contract, _type)));
|
||||
doc->reset(new Json::Value(Natspec::documentation(*_contract.contract, _type)));
|
||||
|
||||
return *(*doc);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user