tree_sitter::ffi

Function ts_query_capture_quantifier_for_id

Source
pub unsafe extern "C" fn ts_query_capture_quantifier_for_id(
    self_: *const TSQuery,
    pattern_index: u32,
    capture_index: u32,
) -> TSQuantifier
Expand description

Get the quantifier of the query’s captures. Each capture is * associated with a numeric id based on the order that it appeared in the query’s source.