MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / unread

Method unread

pkg/filter/ql/lexer.go:502–502  ·  view source on GitHub ↗

unread pushes the previously read rune back onto the buffer.

()

Source from the content-addressed store, hash-verified

500
501// unread pushes the previously read rune back onto the buffer.
502func (r *reader) unread() { r.n++ }
503
504// curr returns the last read character and position.
505func (r *reader) curr() (ch rune, pos int) {

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected