Skip to main content

nesting_depth_at

Function nesting_depth_at 

Source
pub fn nesting_depth_at(source: &str, pos: usize) -> usize
Expand description

Computes the nesting depth at a given position in source.