Skip to main content

classify

Function classify 

Source
pub fn classify(unit: &IrNode) -> Option<Boilerplate>
Expand description

Classify a unit by the shape of its body, or return None when it does something a reader would want to see duplicated.

The unit node itself is not counted; only what it contains.