| 428 | } |
| 429 | |
| 430 | bool ReadLine(TdSelf& tok) { |
| 431 | if (NextTok('\n', tok)) { |
| 432 | while (!tok.empty() && tok.back() == '\r') { |
| 433 | tok.remove_suffix(1); |
| 434 | } |
| 435 | |
| 436 | return true; |
| 437 | } |
| 438 | |
| 439 | return false; |
| 440 | } |
| 441 | |
| 442 | TdSelf NextTok(TCharType delim) { |
| 443 | return NextTokTemplate(delim); |
no test coverage detected