pub fn previous_decls<T>(
node: LinkedNode<'_>,
recv: impl FnMut(PreviousDecl<'_>) -> Option<T>,
) -> Option<T>
Expand description
Finds the previous declarations starting from the given position. It checks
PreviousItem
and returns the found declarations.