Expand description
LanguageAdapter trait — unified semantic extraction from parsed AST.
SignalDetectors delegate to LanguageAdapter instead of writing per-language tree-sitter queries directly. This makes detectors language-agnostic and consolidates query logic per language.
Structs§
- Adapter
Counts - All adapter-computed counts in a single batch result.
- CAdapter
- CppAdapter
- Function
Node - Metadata for a function extracted from source code.
- GoAdapter
- JSAdapter
- Java
Adapter - Python
Adapter - Ruby
Adapter - Rust
Adapter - Swift
Adapter - TSAdapter
- ZigAdapter
Traits§
- Language
Adapter - LanguageAdapter provides language-specific semantic extraction.
Functions§
- adapter_
for - Dispatch to the correct LanguageAdapter for a given language.