Skip optional whitespace (SP or HTAB)
(state: ParserState)
| 535 | |
| 536 | /** Skip optional whitespace (SP or HTAB) */ |
| 537 | function skipOWS(state: ParserState): void { |
| 538 | while (!isEof(state) && (peek(state) === " " || peek(state) === "\t")) { |
| 539 | state.pos++; |
| 540 | } |
| 541 | } |
| 542 | |
| 543 | /** Skip required whitespace (at least one SP) */ |
| 544 | function skipSP(state: ParserState): void { |
no test coverage detected