Skip to main content

count_occurrences

Function count_occurrences 

Source
pub fn count_occurrences(expr: &Expr, target: &Expr) -> usize
Expand description

Count the total number of occurrences of a sub-expression in another.