Skip to main content

Module queries

Module queries 

Source
Expand description

C++’s bundled tree-sitter query assets.

The .scm files ship inside this crate rather than brokk-bifrost-analysis/resources/ and are embedded at compile time, so a consumer never resolves them from a runtime path. brokk-bifrost-analysis folds CPP_QUERY_ASSETS into the per-language store epoch exactly as it folds its own resources/treesitter/<lang>/ files: the entry paths keep the historical treesitter/cpp/ prefix so the epoch’s per-language filter is one rule rather than two.

Constants§

CPP_QUERY_ASSETS
Compile-time embedded .scm query files as (relative_path, contents).
CPP_QUERY_DIRECTORY
Directory the query assets live in, relative to this crate’s root.