From 3e803b40e1b22daf8e3ac45593aec6798d365ccb Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Thu, 4 Dec 2014 09:42:38 +0100 Subject: Parsing notice and dev doxytags. - Only initial work done. Still need to refine the logic and incorporate all the other types of tags. - Added/Modified some tests - Work in progress --- InterfaceHandler.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'InterfaceHandler.h') diff --git a/InterfaceHandler.h b/InterfaceHandler.h index 5c8bf5bc..6f2f2937 100644 --- a/InterfaceHandler.h +++ b/InterfaceHandler.h @@ -37,6 +37,13 @@ namespace solidity { class ContractDefinition; enum documentationType: unsigned short; +enum docTagType +{ + DOCTAG_NONE = 0, + DOCTAG_DEV, + DOCTAG_NOTICE, +}; + class InterfaceHandler { public: @@ -73,6 +80,7 @@ private: Json::StyledWriter m_writer; // internal state + enum docTagType m_lastTag; std::string m_notice; std::string m_dev; }; -- cgit