diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-04 16:42:38 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-04 16:42:38 +0800 |
commit | 3e803b40e1b22daf8e3ac45593aec6798d365ccb (patch) | |
tree | bdb86065381d516026512929277a9b834567e94f /InterfaceHandler.h | |
parent | ba27dc74214d70a4ce8dcfcbb0b15a829f2b050d (diff) | |
download | dexon-solidity-3e803b40e1b22daf8e3ac45593aec6798d365ccb.tar.gz dexon-solidity-3e803b40e1b22daf8e3ac45593aec6798d365ccb.tar.zst dexon-solidity-3e803b40e1b22daf8e3ac45593aec6798d365ccb.zip |
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
Diffstat (limited to 'InterfaceHandler.h')
-rw-r--r-- | InterfaceHandler.h | 8 |
1 files changed, 8 insertions, 0 deletions
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; }; |