Skip to main content

collect_call_sites_in_subtree

Function collect_call_sites_in_subtree 

Source
fn collect_call_sites_in_subtree(
    cpg: &CodePropertyGraph,
    root: NodeIndex,
) -> Vec<NodeIndex>
Expand description

Collects all NodeKind::CallSite nodes in the AST subtree of root.

The traversal follows Edge::AstChild edges.