Function difft::diff::graph::pop_all_parents
source · fn pop_all_parents<'s, 'b>(
lhs_node: Option<&'s Syntax<'s>>,
rhs_node: Option<&'s Syntax<'s>>,
lhs_parent_id: Option<NonZeroU32>,
rhs_parent_id: Option<NonZeroU32>,
parents: &Stack<'b, EnteredDelimiter<'s, 'b>>,
alloc: &'b Bump
) -> (Option<&'s Syntax<'s>>, Option<&'s Syntax<'s>>, Option<NonZeroU32>, Option<NonZeroU32>, Stack<'b, EnteredDelimiter<'s, 'b>>)
Expand description
Pop as many parents of lhs_node
and rhs_node
as
possible. Return the new syntax nodes and parents.