tree_sitter::ffi

Function ts_node_is_named

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

Check if the node is named. Named nodes correspond to named rules in the grammar, whereas anonymous nodes correspond to string literals in the grammar.