| 11 | } |
| 12 | |
| 13 | void TextReader::NextChar() { |
| 14 | if (_currentIndex + 1 < _text.size()) { |
| 15 | ++_currentIndex; |
| 16 | } else { |
| 17 | ++_currentIndex; |
| 18 | if (_currentIndex >= _text.size()) { |
| 19 | _isEof = true; |
| 20 | } |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | void TextReader::NextLine() { |
| 25 | while (_currentIndex < _text.size()) { |
no test coverage detected