Skip to main content

mutual_groups

Function mutual_groups 

Source
pub fn mutual_groups(program: &Program) -> HashMap<String, Vec<&Decl>>
Expand description

Each function the checker marked mutual, mapped to its group.

A group is the functions it calls that call it back, directly or not, itself included, in source order. A function on a cycle of calls is itself mutual, so the cycles run through mutual functions only.