| 26 | } |
| 27 | |
| 28 | MdMonotony StringToMdMonotony(const std::string& mon_text) { |
| 29 | for (size_t index = 0; index < kMonotonyList.size(); ++index ) { |
| 30 | if (mon_text == kMonotonyList[index]) { |
| 31 | return static_cast<MdMonotony>(index); |
| 32 | } |
| 33 | } |
| 34 | return MdMonotony::NotMono; |
| 35 | } |
| 36 | |
| 37 | CnComment::CnComment() |
| 38 | : MdComment("CN") { |