MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / peek

Method peek

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

Source from the content-addressed store, hash-verified

134}
135
136func (p *parseState) peek() rune {
137 r, _ := utf8.DecodeRuneInString(p.s)
138 return r
139}
140
141func (p *parseState) eof() bool {
142 return len(p.s) == 0

Callers 3

eatWhitespaceMethod · 0.95
parseElementMethod · 0.95
doParseDArrayFromStringFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected