Skip to main content Module parser Copy item path Source FileParser Core parsing engine. Handles language detection, parse tree caching,
symbol table caching, and query pattern execution via tree-sitter. SymbolCache Shared symbol cache that can be pre-warmed in a background thread
and merged into the main thread. Thread-safe for building, then
transferred to the single-threaded main loop. TreeSitterProvider Provider that uses tree-sitter for real symbol extraction.
Implements the LanguageProvider trait from language.rs. LangId Supported language identifier. detect_language Maps file extension to language identifier. extract_symbols_from_tree Extract symbols from an already-parsed tree without reparsing. grammar_for Returns the tree-sitter Language grammar for a given LangId.