tree_sitter::ffi

Function ts_tree_included_ranges

source
pub unsafe extern "C" fn ts_tree_included_ranges(
    self_: *const TSTree,
    length: *mut u32,
) -> *mut TSRange
Expand description

Get the array of included ranges that was used to parse the syntax tree.

The returned pointer must be freed by the caller.