tinymist_query::syntax

Function previous_items

Source
pub fn previous_items<T>(
    node: LinkedNode<'_>,
    recv: impl FnMut(PreviousItem<'_>) -> Option<T>,
) -> Option<T>
Expand description

Finds the previous items (in the scope) starting from the given position inclusively. See PreviousItem for the possible items.