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

Function IsIdentMiddle

pkg/sql/lex/predicates.go:103–105  ·  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

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

Callers 2

scanIdentMethod · 0.92
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…