tree_sitter::ffi

Function ts_language_symbol_for_name

source
pub unsafe extern "C" fn ts_language_symbol_for_name(
    self_: *const TSLanguage,
    string: *const c_char,
    length: u32,
    is_named: bool,
) -> TSSymbol
Expand description

Get the numerical id for the given node type string.