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

Method isElementChar

pkg/sql/sem/tree/parse_array.go:81–84  ·  view source on GitHub ↗
(r rune)

Source from the content-addressed store, hash-verified

79}
80
81func (p *parseState) isElementChar(r rune) bool {
82 delim, _ := utf8.DecodeRuneInString(p.t.Delimiter())
83 return r != '{' && r != '}' && r != delim
84}
85
86// gobbleString advances the parser for the remainder of the current string
87// until it sees a non-escaped termination character, as specified by

Callers 1

parseElementMethod · 0.95

Calls 1

DelimiterMethod · 0.45

Tested by

no test coverage detected