| 12 | public: |
| 13 | |
| 14 | struct TItem { |
| 15 | TMaybe<TString> Value; |
| 16 | TString CppName; |
| 17 | TVector<TString> Aliases; |
| 18 | TString CommentText; |
| 19 | |
| 20 | void Clear() { |
| 21 | *this = TItem(); |
| 22 | } |
| 23 | |
| 24 | void NormalizeValue() { |
| 25 | if (!Value) |
| 26 | return; |
| 27 | StripInPlace(*Value); |
| 28 | } |
| 29 | |
| 30 | }; |
| 31 | |
| 32 | // vector is to preserve declaration order |
| 33 | typedef TVector<TItem> TItems; |