Skip to main content

count_calls_in_scope

Function count_calls_in_scope 

Source
pub fn count_calls_in_scope(
    node: Node<'_>,
    source: &[u8],
    target_name: &str,
) -> usize
Expand description

Count calls to a specific function within a node’s subtree, skipping nested component definitions.