time::format_description::parse::ast

Function parse_inner

source
fn parse_inner<'item, I: Iterator<Item = Result<Token<'item>, Error>>, const NESTED: bool, const VERSION: usize>(
    tokens: &mut Lexed<I>,
) -> impl Iterator<Item = Result<Item<'item>, Error>> + '_
Expand description

Parse the provided tokens into an AST. The const generic indicates whether the resulting Item will be used directly or as part of a NestedFormatDescription.