Tree Sitter: Add module and a debug helper.

Review Request #14513 — Created July 26, 2025 and updated

Information

Review Board
master

Reviewers

This change adds the main reviewboard.treesitter module, and
reviewboard.treesitter.debug, which contains a constant for checking if
the RB_DEBUG_TREESITTER environment variable is set (which will be used
for various logging and some xfail unit tests).

Ran unit tests.

Summary ID
Tree Sitter: Add module and a debug helper.
This change adds the main reviewboard.treesitter module, and reviewboard.treesitter.debug, which contains a constant for checking if the RB_DEBUG_TREESITTER environment variable is set (which will be used for various logging and some xfail unit tests). Testing Done: Ran unit tests.
f796f643ad5a80fe3b93da87afe6586202b94e78
Checks run (2 succeeded)
flake8 passed.
JSHint passed.