syntax::algo

Function least_common_ancestor

Source
pub fn least_common_ancestor(
    u: &SyntaxNode,
    v: &SyntaxNode,
) -> Option<SyntaxNode>