pub unsafe extern "C" fn ts_query_cursor_set_containing_byte_range(
    self_: *mut TSQueryCursor,
    start_byte: u32,
    end_byte: u32
) -> bool
Expand description

Set the byte range within which all matches must be fully contained.

Set the range of bytes in which matches will be searched for. In contrast to ts_query_cursor_set_byte_range, this will restrict the query cursor to only return matches where all nodes are fully contained within the given range. Both functions can be used together, e.g. to search for any matches that intersect line 5000, as long as they are fully contained within lines 4500-5500