pub fn extract(file: &SyntaxIrFile) -> FileFeaturesExpand description
Extract the candidate features of every unit in file.
Units are the nodes whose shape is Shape::Function, Shape::Method
or Shape::Closure, visited in pre-order, so a nested closure or local
function yields its own entry after its host’s.