pub fn visit_children<'a, F, T, V>(state: &mut V, f: F) -> T
Expand description
Utility function, tree-sitter uses cursor to traverse trees, this creates a scope that guarantees to “go down”, call f and later “go up” one level. It also protects against stack overflow