Function tree_sitter::ffi::ts_tree_cursor_current_field_id

source ·
pub unsafe extern "C" fn ts_tree_cursor_current_field_id(
    self_: *const TSTreeCursor
) -> TSFieldId
Expand description

Get the field id of the tree cursor’s current node.

This returns zero if the current node doesn’t have a field. See also ts_node_child_by_field_id, ts_language_field_id_for_name.