Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cockroachdb/cockroachdb-parser
/ eatWhitespace
Method
eatWhitespace
pkg/sql/sem/tree/parse_array.go:130–134 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
128
}
129
130
func
(p *parseState) eatWhitespace() {
131
for
isSpaceInParseArray(p.peek()) {
132
p.advance()
133
}
134
}
135
136
func
(p *parseState) peek() rune {
137
r, _ := utf8.DecodeRuneInString(p.s)
Callers
1
doParseDArrayFromString
Function · 0.95
Calls
3
peek
Method · 0.95
advance
Method · 0.95
isSpaceInParseArray
Function · 0.85
Tested by
no test coverage detected