mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
remove solidity --interface
This commit is contained in:
@@ -358,11 +358,6 @@ string const& CompilerStack::interface(string const& _contractName) const
|
||||
return metadata(_contractName, DocumentationType::ABIInterface);
|
||||
}
|
||||
|
||||
string const& CompilerStack::solidityInterface(string const& _contractName) const
|
||||
{
|
||||
return metadata(_contractName, DocumentationType::ABISolidityInterface);
|
||||
}
|
||||
|
||||
string const& CompilerStack::metadata(string const& _contractName, DocumentationType _type) const
|
||||
{
|
||||
if (!m_parseSuccessful)
|
||||
@@ -383,9 +378,6 @@ string const& CompilerStack::metadata(string const& _contractName, Documentation
|
||||
case DocumentationType::ABIInterface:
|
||||
doc = ¤tContract.interface;
|
||||
break;
|
||||
case DocumentationType::ABISolidityInterface:
|
||||
doc = ¤tContract.solidityInterface;
|
||||
break;
|
||||
default:
|
||||
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Illegal documentation type."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user