Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
85
func
(p *parseState) eatWhitespace() {
86
for
unicode.IsSpace(p.peek()) {
87
p.advance()
88
}
89
}
90
91
func
(p *parseState) peek() rune {
92
r, _ := utf8.DecodeRuneInString(p.s)
Callers
1
doParseDArrayFromString
Function · 0.95
Calls
2
peek
Method · 0.95
advance
Method · 0.95
Tested by
no test coverage detected