Function tree_sitter::ffi::ts_query_cursor_next_capture
source · pub unsafe extern "C" fn ts_query_cursor_next_capture(
self_: *mut TSQueryCursor,
match_: *mut TSQueryMatch,
capture_index: *mut u32
) -> bool
Expand description
Advance to the next capture of the currently running query.
If there is a capture, write its match to *match
and its index within
the matche’s capture list to *capture_index
. Otherwise, return false
.