Check if at end of input
(state: ParserState)
| 520 | |
| 521 | /** Check if at end of input */ |
| 522 | function isEof(state: ParserState): boolean { |
| 523 | return state.pos >= state.input.length; |
| 524 | } |
| 525 | |
| 526 | /** Peek current character */ |
| 527 | function peek(state: ParserState): string { |
no outgoing calls
no test coverage detected