Skip to main content

find_references_codebase_with_target

Function find_references_codebase_with_target 

Source
pub fn find_references_codebase_with_target(
    word: &str,
    all_docs: &[(Url, Arc<ParsedDoc>)],
    include_declaration: bool,
    kind: Option<SymbolKind>,
    target_fqn: Option<&str>,
    codebase: &Codebase,
    lookup_refs: &RefLookup<'_>,
) -> Option<Vec<Location>>
Expand description

Like find_references_codebase but accepts an exact FQN (for Function/Class) or owning FQCN (for Method) to avoid short-name collisions across namespaces and unrelated classes. When target_fqn is None, behaves identically to find_references_codebase.