traverse_tree

Function traverse_tree 

Source
pub fn traverse_tree(
    tree: &Tree,
    order: Order,
) -> impl FusedIterator<Item = Node<'_>>
Expand description

Convenience method to traverse a tree-sitter Tree in an order according to order.