Natspec: Output "type" and "version" in documenation

This commit is contained in:
Mathias Baumann
2020-06-15 14:53:34 +02:00
parent 08b7d007da
commit d54e7f50ed
5 changed files with 16 additions and 2 deletions
+2
View File
@@ -40,6 +40,8 @@ struct DocTag;
class Natspec
{
public:
static unsigned int constexpr c_natspecVersion = 1;
/// Get the User documentation of the contract
/// @param _contractDef The contract definition
/// @return A JSON representation of the contract's user documentation