MCPcopy Create free account
hub / github.com/dolthub/doltgresql / eatWhitespace

Method eatWhitespace

postgres/parser/sem/tree/parse_array.go:100–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func (p *parseState) eatWhitespace() {
101 for unicode.IsSpace(p.peek()) {
102 p.advance()
103 }
104}
105
106func (p *parseState) peek() rune {
107 r, _ := utf8.DecodeRuneInString(p.s)

Callers 1

doParseDArrayFromStringFunction · 0.95

Calls 3

peekMethod · 0.95
advanceMethod · 0.95
IsSpaceMethod · 0.80

Tested by

no test coverage detected