[][src]Function parze::permit

pub fn permit<'a, T: Clone + 'a, E: ParseError<'a, T> + 'a>(
    f: impl Fn(T) -> bool + 'static
) -> Parser<'a, T, T, E>

A parser that accepts one symbol provided it passes the given test.