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
pub fn non_trivia_sibling(
element: SyntaxElement,
direction: Direction,
) -> Option<SyntaxElement>
Finds the first sibling in the given direction which is not trivia