tree_sitter::ffi

Function ts_query_cursor_set_byte_range

Source
pub unsafe extern "C" fn ts_query_cursor_set_byte_range(
    self_: *mut TSQueryCursor,
    start_byte: u32,
    end_byte: u32,
)
Expand description

Set the range of bytes or (row, column) positions in which the query will be executed.