Skip to main content

should_bridge_patch_semantic_tokens

Function should_bridge_patch_semantic_tokens 

Source
pub fn should_bridge_patch_semantic_tokens(
    path_a: &str,
    path_b: &str,
    tokens_a: &[String],
    tokens_b: &[String],
    source_count: usize,
    aux_count: usize,
) -> bool
Expand description

Bridge files by semantic overlap of changed-patch identifiers.

This complements call/import edges when tree-sitter cannot recover a complete AST from patch fragments, while keeping scope guards strict.