Skip to main content

expression_depth

Function expression_depth 

Source
pub fn expression_depth<T: NumericType>(expr: &ASTRepr<T>) -> usize
Expand description

Calculate the depth of an expression tree