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

Function IsIdentMiddle

pkg/sql/lexbase/predicates.go:105–107  ·  view source on GitHub ↗

IsIdentMiddle returns true if the character is valid inside an identifier.

(ch int)

Source from the content-addressed store, hash-verified

103
104// IsIdentMiddle returns true if the character is valid inside an identifier.
105func IsIdentMiddle(ch int) bool {
106 return IsIdentStart(ch) || IsDigit(ch) || ch == '$'
107}

Callers 1

IsBareIdentifierFunction · 0.85

Calls 2

IsIdentStartFunction · 0.85
IsDigitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…