backup moves the lexer back one rune can only be used once per call of next()
()
| 79 | // backup moves the lexer back one rune |
| 80 | // can only be used once per call of next() |
| 81 | func (l *lexer) backup() { |
| 82 | l.pos -= l.width |
| 83 | } |
| 84 | |
| 85 | // peek returns the next rune in the input |
| 86 | // without moving the internal pointer |
no outgoing calls
no test coverage detected