aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-09 21:12:36 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-09 21:12:36 +0800
commit7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c (patch)
tree2a6ea64e3f412f91a41c47f732a5f942f0586f5d /CompilerStack.cpp
parent3ef75bae6b734aa8b55f45da48bc9f396a5f2040 (diff)
downloaddexon-solidity-7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c.tar
dexon-solidity-7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c.tar.gz
dexon-solidity-7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c.tar.bz2
dexon-solidity-7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c.tar.lz
dexon-solidity-7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c.tar.xz
dexon-solidity-7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c.tar.zst
dexon-solidity-7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c.zip
Styling in Natspec Enums
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r--CompilerStack.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp
index 2d77bc0a..762edb52 100644
--- a/CompilerStack.cpp
+++ b/CompilerStack.cpp
@@ -227,12 +227,12 @@ void CompilerStack::streamAssembly(ostream& _outStream, string const& _contractN
string const& CompilerStack::getInterface(string const& _contractName) const
{
- return getMetadata(_contractName, DocumentationType::ABI_INTERFACE);
+ return getMetadata(_contractName, DocumentationType::ABIInterface);
}
string const& CompilerStack::getSolidityInterface(string const& _contractName) const
{
- return getMetadata(_contractName, DocumentationType::ABI_SOLIDITY_INTERFACE);
+ return getMetadata(_contractName, DocumentationType::ABISolidityInterface);
}
string const& CompilerStack::getMetadata(string const& _contractName, DocumentationType _type) const
@@ -245,16 +245,16 @@ string const& CompilerStack::getMetadata(string const& _contractName, Documentat
std::unique_ptr<string const>* doc;
switch (_type)
{
- case DocumentationType::NATSPEC_USER:
+ case DocumentationType::NatspecUser:
doc = &contract.userDocumentation;
break;
- case DocumentationType::NATSPEC_DEV:
+ case DocumentationType::NatspecDev:
doc = &contract.devDocumentation;
break;
- case DocumentationType::ABI_INTERFACE:
+ case DocumentationType::ABIInterface:
doc = &contract.interface;
break;
- case DocumentationType::ABI_SOLIDITY_INTERFACE:
+ case DocumentationType::ABISolidityInterface:
doc = &contract.solidityInterface;
break;
default: