MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / peek

Method peek

tidbparser/parser/lexer.go:692–709  ·  view source on GitHub ↗

peek() peeks a rune from underlying reader. if reader meets EOF, it will return unicode.ReplacementChar. to distinguish from the real unicode.ReplacementChar, the caller should call r.eof() again to check.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

readByteMethod · 0.95
incAsLongAsMethod · 0.95
isTokenIdentifierMethod · 0.80
scanMethod · 0.80
startWithXxFunction · 0.80
startWithNnFunction · 0.80
startWithBbFunction · 0.80
startWithSlashFunction · 0.80
startWithAtFunction · 0.80
scanQuotedIdentFunction · 0.80
scanStringMethod · 0.80
handleEscapeFunction · 0.80

Calls 1

eofMethod · 0.95

Tested by

no test coverage detected