Type Alias leo_passes::common::graph::CallGraph

source ·
pub type CallGraph = DiGraph<Symbol>;
Expand description

A call graph.

Aliased Type§

struct CallGraph {
    nodes: IndexSet<Symbol>,
    edges: IndexMap<Symbol, IndexSet<Symbol>>,
}

Fields§

§nodes: IndexSet<Symbol>

The set of nodes in the graph.

§edges: IndexMap<Symbol, IndexSet<Symbol>>

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.