rbtr-lang-tree-sitter-query
tree-sitter query (.scm) support for rbtr. Optional plugin —
install with pip install rbtr[tree_sitter_query].
What it ingests
.scm files — the tree-sitter query language rbtr's own plugins are written
in, and which third-party grammars ship too (tags.scm, highlights.scm,
injections.scm), so cloned repos are covered. Each top-level pattern becomes
a doc-section chunk, named by its own outer capture where the author gave
one. Patterns with no outer label are anonymous sections whose nested captures
stay full-text-searchable.
Chunks produced
; doc_section "function"
(function_definition name: (identifier) @_fn_name) @function
; doc_section "keyword"
["if" "else"] @keyword
Embedded / injected chunks
None. Query files do not embed other languages.
Grammar & dependencies
Uses the tree-sitter-query grammar (.scm). No dependency on other language
plugins.
Metadata
Release files for rbtr-lang-tree-sitter-query 2026.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbtr_lang_tree_sitter_query-2026.9.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_tree_sitter_query-2026.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / rbtr_lang_tree_sitter_query-2026.9.0.tar.gz
| Download URL | rbtr_lang_tree_sitter_query-2026.9.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ac7df15017187cb052806981d49ac60a074fce9c3f7384b7eaae7ecdc6ad494
|
|
BLAKE2b-256 checksum How to use checksums |
cd593c6e5cf6df5b41c87a49188155b4557cd4a0da0da36e86fa59a910fcdf71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / rbtr_lang_tree_sitter_query-2026.9.0-py3-none-any.whl
| Download URL | rbtr_lang_tree_sitter_query-2026.9.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
313419fe13c73ba65b03364c751a8bf07ddf6341562cabd57ca6ca6b1f5185d9
|
|
BLAKE2b-256 checksum How to use checksums |
5aa5d2ca5fab821ff6fd7481323edbfa2abaa22ac57f30d9381317a3eac2d99c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|