tree_sitter::ffi

Function ts_tree_cursor_reset

Source
pub unsafe extern "C" fn ts_tree_cursor_reset(
    self_: *mut TSTreeCursor,
    node: TSNode,
)
Expand description

Re-initialize a tree cursor to start at the original node that the cursor was constructed with.