time::format_description::parse::ast

Function parse_component

source
fn parse_component<'a, I: Iterator<Item = Result<Token<'a>, Error>>, const VERSION: usize>(
    opening_bracket: Location,
    tokens: &mut Lexed<I>,
) -> Result<Item<'a>, Error>
Expand description

Parse a component. This assumes that the opening bracket has already been consumed.