tree_sitter::ffi

Function ts_tree_cursor_current_descendant_index

source
pub unsafe extern "C" fn ts_tree_cursor_current_descendant_index(
    self_: *const TSTreeCursor,
) -> u32
Expand description

Get the index of the cursor’s current node out of all of the descendants of the original node that the cursor was constructed with.