tree_sitter::ffi

Function ts_tree_cursor_goto_next_sibling

Source
pub unsafe extern "C" fn ts_tree_cursor_goto_next_sibling(
    self_: *mut TSTreeCursor,
) -> bool
Expand description

Move the cursor to the next sibling of its current node.

This returns true if the cursor successfully moved, and returns false if there was no next sibling node.