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

Method eatWhitespace

pkg/sql/sem/tree/parse_array.go:85–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (p *parseState) eatWhitespace() {
86 for unicode.IsSpace(p.peek()) {
87 p.advance()
88 }
89}
90
91func (p *parseState) peek() rune {
92 r, _ := utf8.DecodeRuneInString(p.s)

Callers 1

doParseDArrayFromStringFunction · 0.95

Calls 2

peekMethod · 0.95
advanceMethod · 0.95

Tested by

no test coverage detected