[−][src]Function gobble::repeater::do_exact
pub fn do_exact<'a, A: Parser>(
it: &LCChars<'a>,
a: &A,
n: usize
) -> ParseRes<'a, Vec<A::Out>>
use gobble::*; let it = LCChars::str("hello fish car cat"); let (_,v,_) = do_exact(&it,&last(WS.star(),common::Ident),3).unwrap(); assert_eq!(v,vec!["hello","fish","car"]);