Skip to main content

depth

Function depth 

Source
pub fn depth(grammar: &Grammar, program: &[Symbol]) -> usize
Expand description

The depth of the tree (a single terminal has depth 0).