tree_sitter::ffi

Function ts_node_child_by_field_name

source
pub unsafe extern "C" fn ts_node_child_by_field_name(
    self_: TSNode,
    name: *const c_char,
    name_length: u32,
) -> TSNode
Expand description

Get the node’s child with the given field name.