syntax::algo

Function non_trivia_sibling

source
pub fn non_trivia_sibling(
    element: SyntaxElement,
    direction: Direction,
) -> Option<SyntaxElement>
Expand description

Finds the first sibling in the given direction which is not trivia