MCPcopy
hub / github.com/uber/aresdb / unread

Method unread

query/expr/scanner.go:456–458  ·  view source on GitHub ↗

unread pushes the previously read rune back onto the buffer.

()

Source from the content-addressed store, hash-verified

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

Callers 8

UnreadRuneMethod · 0.95
scanMethod · 0.80
scanWhitespaceMethod · 0.80
scanIdentMethod · 0.80
scanStringMethod · 0.80
scanNumberMethod · 0.80
scanDigitsMethod · 0.80
scanHexCharsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected