aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-05 01:12:52 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-05 01:12:52 +0800
commit02a04eef5c897dc4c211d14803285bd0485f8877 (patch)
treec20d0e7e85daf4fa23723f94886c07bb1bacba48 /InterfaceHandler.h
parentdf4db1de0714e000376bc1efa3db85d57c6a6819 (diff)
downloaddexon-solidity-02a04eef5c897dc4c211d14803285bd0485f8877.tar.gz
dexon-solidity-02a04eef5c897dc4c211d14803285bd0485f8877.tar.zst
dexon-solidity-02a04eef5c897dc4c211d14803285bd0485f8877.zip
Natspec @return tag parsing
- Also omitting tags from the output JSON file if they are missing instead of providing an empty string for their value
Diffstat (limited to 'InterfaceHandler.h')
-rw-r--r--InterfaceHandler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/InterfaceHandler.h b/InterfaceHandler.h
index 2a70af95..eeaed033 100644
--- a/InterfaceHandler.h
+++ b/InterfaceHandler.h
@@ -42,7 +42,8 @@ enum docTagType
DOCTAG_NONE = 0,
DOCTAG_DEV,
DOCTAG_NOTICE,
- DOCTAG_PARAM
+ DOCTAG_PARAM,
+ DOCTAG_RETURN
};
class InterfaceHandler
@@ -91,6 +92,7 @@ private:
enum docTagType m_lastTag;
std::string m_notice;
std::string m_dev;
+ std::string m_return;
std::vector<std::pair<std::string, std::string>> m_params;
};