tree_sitter::ffi

Function ts_tree_cursor_current_depth

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

Get the depth of the cursor’s current node relative to the original node that the cursor was constructed with.