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

Method next

pkg/sql/parser/scan.go:407–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405}
406
407func (s *scanner) next() int {
408 ch := s.peek()
409 if ch != eof {
410 s.pos++
411 }
412 return ch
413}
414
415func (s *scanner) skipWhitespace(lval *sqlSymType, allowComments bool) (newline, ok bool) {
416 newline = false

Callers 5

scanMethod · 0.95
scanCommentMethod · 0.95
scanHexStringMethod · 0.95
scanBitStringMethod · 0.95
scanStringMethod · 0.95

Calls 1

peekMethod · 0.95

Tested by

no test coverage detected