MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / isIdentifierStart

Function isIdentifierStart

pkg/sql/tokenizer/tokenizer.go:731–733  ·  view source on GitHub ↗

isIdentifierStart checks if a rune can start an identifier

(r rune)

Source from the content-addressed store, hash-verified

729
730// isIdentifierStart checks if a rune can start an identifier
731func isIdentifierStart(r rune) bool {
732 return isUnicodeIdentifierStart(r)
733}
734
735// readIdentifier reads an identifier (e.g. foo or foo.bar)
736func (t *Tokenizer) readIdentifier() (models.Token, error) {

Callers 3

nextTokenMethod · 0.85
readIdentifierMethod · 0.85
readPunctuationMethod · 0.85

Calls 1

isUnicodeIdentifierStartFunction · 0.85

Tested by

no test coverage detected