unread pushes the previously read rune back onto the buffer.
()
| 454 | |
| 455 | // unread pushes the previously read rune back onto the buffer. |
| 456 | func (r *reader) unread() { |
| 457 | r.n++ |
| 458 | } |
| 459 | |
| 460 | // curr returns the last read character and position. |
| 461 | func (r *reader) curr() (ch rune, pos Pos) { |
no outgoing calls
no test coverage detected