mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Styling in Natspec Enums
This commit is contained in:
parent
c797df7307
commit
a2644c0967
@ -161,22 +161,22 @@ void CommandLineInterface::handleMeta(DocumentationType _type, string const& _co
|
|||||||
std::string title;
|
std::string title;
|
||||||
switch(_type)
|
switch(_type)
|
||||||
{
|
{
|
||||||
case DocumentationType::ABI_INTERFACE:
|
case DocumentationType::ABIInterface:
|
||||||
argName = g_argAbiStr;
|
argName = g_argAbiStr;
|
||||||
suffix = ".abi";
|
suffix = ".abi";
|
||||||
title = "Contract JSON ABI";
|
title = "Contract JSON ABI";
|
||||||
break;
|
break;
|
||||||
case DocumentationType::ABI_SOLIDITY_INTERFACE:
|
case DocumentationType::ABISolidityInterface:
|
||||||
argName = g_argSolAbiStr;
|
argName = g_argSolAbiStr;
|
||||||
suffix = ".sol";
|
suffix = ".sol";
|
||||||
title = "Contract Solidity ABI";
|
title = "Contract Solidity ABI";
|
||||||
break;
|
break;
|
||||||
case DocumentationType::NATSPEC_USER:
|
case DocumentationType::NatspecUser:
|
||||||
argName = g_argNatspecUserStr;
|
argName = g_argNatspecUserStr;
|
||||||
suffix = ".docuser";
|
suffix = ".docuser";
|
||||||
title = "User Documentation";
|
title = "User Documentation";
|
||||||
break;
|
break;
|
||||||
case DocumentationType::NATSPEC_DEV:
|
case DocumentationType::NatspecDev:
|
||||||
argName = g_argNatspecDevStr;
|
argName = g_argNatspecDevStr;
|
||||||
suffix = ".docdev";
|
suffix = ".docdev";
|
||||||
title = "Developer Documentation";
|
title = "Developer Documentation";
|
||||||
@ -436,10 +436,10 @@ void CommandLineInterface::actOnInput()
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleBytecode(contract);
|
handleBytecode(contract);
|
||||||
handleMeta(DocumentationType::ABI_INTERFACE, contract);
|
handleMeta(DocumentationType::ABIInterface, contract);
|
||||||
handleMeta(DocumentationType::ABI_SOLIDITY_INTERFACE, contract);
|
handleMeta(DocumentationType::ABISolidityInterface, contract);
|
||||||
handleMeta(DocumentationType::NATSPEC_DEV, contract);
|
handleMeta(DocumentationType::NatspecDev, contract);
|
||||||
handleMeta(DocumentationType::NATSPEC_USER, contract);
|
handleMeta(DocumentationType::NatspecUser, contract);
|
||||||
} // end of contracts iteration
|
} // end of contracts iteration
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user