Tree Sitter: Add code for working with language names.
Review Request #14515 — Created July 26, 2025 and updated — Latest diff uploaded
This change adds the
reviewboard.treesitter.language
module, which has
a forwarding import for theSupportedLanguage
type, a
SUPPORTED_LANGUAGES
set that reflects what's inSupportedLanguage
,
and three methods that are used for detecting tree sitter language names
for various situations.
Ran unit tests.