Function duration

Source
pub fn duration(
    lexer: &mut Lexer<'_>,
    start: Token,
) -> Result<Duration, SyntaxError>