Skip to main content

decl_span_for_name_span

Function decl_span_for_name_span 

Source
pub fn decl_span_for_name_span(
    root: &SyntaxNode,
    name_start: u32,
    name_end: u32,
) -> Option<(u32, u32)>
Expand description

Find the declaration node span (for doc_map lookup) that contains the given name span.