Function tree_sitter::ffi::ts_node_child_containing_descendant
source · pub unsafe extern "C" fn ts_node_child_containing_descendant(
self_: TSNode,
descendant: TSNode
) -> TSNode
Expand description
@deprecated use [ts_node_contains_descendant
] instead, this will be removed in 0.25
Get the node’s child containing descendant
. This will not return
the descendant if it is a direct child of self
, for that use
ts_node_contains_descendant
.