Expand description
Language Adapters: source code -> Common IR (ADR-0004).
All language-specific knowledge lives in the Mapping tables of the
per-language modules. The Metric Engine never imports this module.
Structs§
- Mapping
- Declarative description of one language. Everything language-specific lives here.
- Tree
Sitter Adapter
Constants§
- TREE_
SITTER_ VERSION - tree-sitter runtime version. Checked against Cargo.lock by tests.
Traits§
Functions§
- adapter_
for_ path - Selects the adapter by file extension. Unknown extensions are an error: the language is never guessed (ADR-0005).
- adapters
- supported_
extensions