| 39 | } |
| 40 | |
| 41 | bool TextParser::ensureIsAtEnd() { |
| 42 | if (!isAtEnd()) { |
| 43 | setErrorAtCurrentPosition("Unexpectedly found trailing characters"); |
| 44 | return false; |
| 45 | } |
| 46 | return true; |
| 47 | } |
| 48 | |
| 49 | bool TextParser::ensureNotAtEnd() { |
| 50 | if (isAtEnd()) { |
no outgoing calls
no test coverage detected