android-tree-sitter
android-tree-sitter copied to clipboard
Treesitter-Java does not support Chinese identifiers
Java with Chinese identifiers may encounter parsing errors
//https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-IdentifierChars
identifier: $ => /[\p{L}_$][\p{L}\p{Nd}\u00A2_$]*/,
Did you not handle Unicode characters that Java can support
identifier: _ => /[\p{XID_Start}$][\p{XID_Continue}\u00A2$]*/, ???
Report this in tree-sitter-java.