Skip to main content

Module links

Module links 

Source

Structs§

TsImport
An import found by tree-sitter: the quoted path string and its LSP range (covering only the text between the quotes).

Functions§

document_links
Extract document links for import directives in the current file.
import_path_range
Find the LSP Range of the import path string inside an ImportDirective.
ts_find_imports
Parse source_bytes with tree-sitter and return all import paths with their ranges. This is independent of the solc AST and always reflects the current source content, making it safe to use when the AST is stale or unavailable (e.g. after a failed re-index).