MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / next

Method next

pkg/sql/scanner/scan.go:513–519  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511}
512
513func (s *Scanner) next() int {
514 ch := s.peek()
515 if ch != eof {
516 s.pos++
517 }
518 return ch
519}
520
521func (s *Scanner) skipWhitespace(lval ScanSymType, allowComments bool) (newline, ok bool) {
522 newline = false

Callers 6

scanSetupMethod · 0.95
ScanCommentMethod · 0.95
scanHexStringMethod · 0.95
scanBitStringMethod · 0.95
scanStringMethod · 0.95
scanStringMethod · 0.45

Calls 1

peekMethod · 0.95

Tested by

no test coverage detected