Function tree_sitter::ffi::ts_node_parent
source · pub unsafe extern "C" fn ts_node_parent(self_: TSNode) -> TSNodeExpand description
Get the node’s immediate parent.
Prefer ts_node_child_with_descendant for
iterating over the node’s ancestors.