tree_sitter::ffi

Function ts_language_field_id_for_name

Source
pub unsafe extern "C" fn ts_language_field_id_for_name(
    self_: *const TSLanguage,
    name: *const c_char,
    name_length: u32,
) -> TSFieldId
Expand description

Get the numerical id for the given field name string.