Skip to main content

parse_many1

Function parse_many1 

Source
pub fn parse_many1<T, F>(
    f: F,
    tokens: &[String],
    pos: usize,
) -> Option<(Vec<T>, usize)>
where F: Fn(&[String], usize) -> Option<(T, usize)>,
Expand description

A simple parser combinator: many1 (one or more).