[−][src]Function pom::parser::is_a
pub fn is_a<'a, I, F>(predicate: F) -> Parser<'a, I, I> where
I: Clone + PartialEq + Display + Debug,
F: Fn(I) -> bool + 'a,
Success when predicate returns true on current input symbol.
pub fn is_a<'a, I, F>(predicate: F) -> Parser<'a, I, I> where
I: Clone + PartialEq + Display + Debug,
F: Fn(I) -> bool + 'a,
Success when predicate returns true on current input symbol.