Type Alias CallGraph

Source
pub type CallGraph = DiGraph<Location>;
Expand description

A call graph.

Aliased Type§

pub struct CallGraph {
    nodes: IndexSet<Rc<Location>>,
    edges: IndexMap<Rc<Location>, IndexSet<Rc<Location>>>,
}

Fields§

§nodes: IndexSet<Rc<Location>>

The set of nodes in the graph.

§edges: IndexMap<Rc<Location>, IndexSet<Rc<Location>>>

The directed edges in the graph. Each entry in the map is a node in the graph, and the set of nodes that it points to.