MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / isAlphaNumeric

Function isAlphaNumeric

utils/vscode/src/parser/parser.go:396–396  ·  view source on GitHub ↗
(r rune)

Source from the content-addressed store, hash-verified

394func isNumeric(r rune) bool { return unicode.IsDigit(r) }
395func isAlpha(r rune) bool { return unicode.IsLetter(r) }
396func isAlphaNumeric(r rune) bool { return isAlpha(r) || isNumeric(r) }
397
398type parser struct {
399 lines []string // all source lines

Callers 2

pidentMethod · 0.85
lexFunction · 0.85

Calls 2

isAlphaFunction · 0.85
isNumericFunction · 0.85

Tested by

no test coverage detected