time::format_description::parse::ast

Function parse

Source
pub(super) fn parse<'item: 'iter, 'iter, I: Iterator<Item = Result<Token<'item>, Error>>, const VERSION: usize>(
    tokens: &'iter mut Lexed<I>,
) -> impl Iterator<Item = Result<Item<'item>, Error>> + 'iter
Available on (crate features formatting or parsing) and crate feature alloc only.
Expand description

Parse the provided tokens into an AST.