tree_sitter::ffi

Function ts_node_descendant_count

Source
pub unsafe extern "C" fn ts_node_descendant_count(
    self_: TSNode,
) -> u32
Expand description

Get the node’s number of descendants, including one for the node itself.