aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/Natspec.h
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-07-19 17:37:10 +0800
committerGitHub <noreply@github.com>2017-07-19 17:37:10 +0800
commit46d31f7179779087e2b7dfae1befef8f1975d128 (patch)
tree3ff9f31f19f6fdb4d764a8c3555cfcb5d9427314 /libsolidity/interface/Natspec.h
parent1a7b61ad05f77bcfaf8cdd16f648e429ab63e279 (diff)
parent5bb4bfb08b7157ef79aaa673881638c809adf6a7 (diff)
downloaddexon-solidity-46d31f7179779087e2b7dfae1befef8f1975d128.tar
dexon-solidity-46d31f7179779087e2b7dfae1befef8f1975d128.tar.gz
dexon-solidity-46d31f7179779087e2b7dfae1befef8f1975d128.tar.bz2
dexon-solidity-46d31f7179779087e2b7dfae1befef8f1975d128.tar.lz
dexon-solidity-46d31f7179779087e2b7dfae1befef8f1975d128.tar.xz
dexon-solidity-46d31f7179779087e2b7dfae1befef8f1975d128.tar.zst
dexon-solidity-46d31f7179779087e2b7dfae1befef8f1975d128.zip
Merge pull request #2590 from ethereum/natspec-cleanup
Remove unneccesary interface from Natspec
Diffstat (limited to 'libsolidity/interface/Natspec.h')
-rw-r--r--libsolidity/interface/Natspec.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libsolidity/interface/Natspec.h b/libsolidity/interface/Natspec.h
index bec9acd2..9ac3efea 100644
--- a/libsolidity/interface/Natspec.h
+++ b/libsolidity/interface/Natspec.h
@@ -39,7 +39,6 @@ class ContractDefinition;
class Type;
using TypePointer = std::shared_ptr<Type const>;
struct DocTag;
-enum class DocumentationType: uint8_t;
enum class DocTagType: uint8_t
{
@@ -61,15 +60,6 @@ enum class CommentOwner
class Natspec
{
public:
- /// Get the given type of documentation
- /// @param _contractDef The contract definition
- /// @param _type The type of the documentation. Can be one of the
- /// types provided by @c DocumentationType
- /// @return A JSON representation of provided type
- static Json::Value documentation(
- ContractDefinition const& _contractDef,
- DocumentationType _type
- );
/// Get the User documentation of the contract
/// @param _contractDef The contract definition
/// @return A JSON representation of the contract's user documentation