tree_sitter::ffi

Function ts_query_pattern_count

source
pub unsafe extern "C" fn ts_query_pattern_count(
    self_: *const TSQuery,
) -> u32
Expand description

Get the number of patterns, captures, or string literals in the query.