tree_sitter::ffi

Function ts_node_grammar_type

Source
pub unsafe extern "C" fn ts_node_grammar_type(
    self_: TSNode,
) -> *const c_char
Expand description

Get the node’s type as it appears in the grammar ignoring aliases as a null-terminated string.