Skip to main content

parse_tree

Function parse_tree 

Source
pub fn parse_tree(
    source: &str,
    language: Language,
) -> Result<Tree, HostlibError>
Expand description

Parse a source str for language and return the raw tree-sitter tree. Used by the typed symbol graph in [crate::code_index::symbol_graph] to sweep for call sites without re-doing the work the AST symbol extractor already did.