| 39 | } |
| 40 | |
| 41 | int BasicLexer::EatOne(char c){ |
| 42 | assert(!End()); |
| 43 | |
| 44 | char ch = *it++; |
| 45 | if(ch == '\n'){ |
| 46 | line++; |
| 47 | } |
| 48 | |
| 49 | return ch == c; |
| 50 | } |
| 51 | |
| 52 | char BasicLexer::Peek(ssize_t ahead) const{ |
| 53 | assert(it + ahead < sv.end()); |
nothing calls this directly
no outgoing calls
no test coverage detected