pub(super) fn parse<'a>( ast_items: impl Iterator<Item = Result<Item<'a>, Error>>, ) -> impl Iterator<Item = Result<Item<'a>, Error>>
Parse an AST iterator into a sequence of format items.