Skip to main content

collect_include_path_ranges

Function collect_include_path_ranges 

Source
pub fn collect_include_path_ranges(
    root: &SyntaxNode,
    source: &str,
) -> Vec<(u32, u32, String)>
Expand description

Collect (start_byte, end_byte, path_string) for each include("...") in the file. Used by the LSP to provide document links and go-to-definition on include paths.