| 73 | Y_ASSERT(NlpType == NLP_WORD || NlpType == NLP_MARK || NlpType == NLP_INTEGER); |
| 74 | } |
| 75 | void AddIdeograph(size_t len) { |
| 76 | Y_ASSERT(Subtokens.empty()); |
| 77 | Subtokens.push_back(0, len, TOKEN_WORD); |
| 78 | NlpType = NLP_WORD; |
| 79 | } |
| 80 | void SwapSubtokens(TTokenStructure& other) { |
| 81 | Subtokens.swap(other); |
| 82 | } |
no test coverage detected