Skip to main contentModule find
Source - ContainingSymbol
- The function or class that contains a reference site.
- ReferenceMatch
- Result of a reference search.
- SymbolMatch
- Result of a symbol search.
- extract_symbol_body
- Extract a symbol’s full body from file starting at
start_line (1-indexed). - find_impl
- Find concrete implementations of an interface method using
textDocument/implementation. - find_innermost_containing
- Walk a
SymbolEntry tree and return the innermost symbol whose range
contains line (1-indexed). Used to enrich references with caller info. - find_refs
- Find all references to a symbol using
textDocument/references. - find_symbol
- Find symbol definitions using
workspace/symbol. - resolve_symbol_location
- Resolve a symbol name to its absolute file path and 0-indexed (line, character) position.
- symbol_kind_name
- Map LSP
SymbolKind numeric values to human-readable names. - text_search_find_refs
- Text-search fallback for
find refs — used when LSP textDocument/references returns empty. - text_search_find_symbol
- Text-search fallback for
find symbol — used when LSP workspace/symbol returns empty.