tree_sitter::ffi

Function ts_node_is_null

Source
pub unsafe extern "C" fn ts_node_is_null(self_: TSNode) -> bool
Expand description

Check if the node is null. Functions like ts_node_child and ts_node_next_sibling will return a null node to indicate that no such node was found.