Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
100
func
(p *parseState) eatWhitespace() {
101
for
unicode.IsSpace(p.peek()) {
102
p.advance()
103
}
104
}
105
106
func
(p *parseState) peek() rune {
107
r, _ := utf8.DecodeRuneInString(p.s)
Callers
1
doParseDArrayFromString
Function · 0.95
Calls
3
peek
Method · 0.95
advance
Method · 0.95
IsSpace
Method · 0.80
Tested by
no test coverage detected