skipToBlank skips the cursor to the first blank rune.
()
| 715 | |
| 716 | // skipToBlank skips the cursor to the first blank rune. |
| 717 | func (t *Tokenizer) skipToBlank() { |
| 718 | r := t.char(0) |
| 719 | for r != eofRune && !unicode.IsSpace(r) { |
| 720 | t.skip(1) |
| 721 | r = t.char(0) |
| 722 | } |
| 723 | } |
| 724 | |
| 725 | func (t *Tokenizer) skipToNewLine() { |
| 726 | r := t.char(0) |
no test coverage detected