Function tree_sitter::ffi::ts_query_cursor_next_match
source · pub unsafe extern "C" fn ts_query_cursor_next_match(
self_: *mut TSQueryCursor,
match_: *mut TSQueryMatch
) -> bool
Expand description
Advance to the next match of the currently running query.
If there is a match, write it to *match
and return true
.
Otherwise, return false
.