isUnicodeIdentifierStart checks if a rune can start a Unicode identifier. SQL identifiers in GoSQLX follow Unicode identifier rules, allowing: - Any Unicode letter (Lu, Ll, Lt, Lm, Lo categories) - Underscore (_) This enables international SQL processing with identifiers in any language. Examples
(r rune)
| 33 | // |
| 34 | // Returns true if the rune can start an identifier, false otherwise. |
| 35 | func isUnicodeIdentifierStart(r rune) bool { |
| 36 | return unicode.IsLetter(r) || r == '_' |
| 37 | } |
| 38 | |
| 39 | // isUnicodeIdentifierPart checks if a rune can be part of a Unicode identifier. |
| 40 | // |