pub fn collect(self) -> Parser<'a, I, &'a [I]>
	where
		O: 'a,
	{
		Parser::new(move |input: &'a [I], start: usize| {
			(self.method)(input, start).map(|(_, end)| (&input[start..end], end))
		})
	}
/// Collect all matched input symbols.
Collect all matched input symbols.
Collect all matched input symbols .
pub fn collect(self) -> Parser<'a, I, &'a [I]>
	where
		O: 'a,
	{
		Parser::new(move |input: &'a [I], start: usize| {
			(self.method)(input, start).map(|(_, end)| (&input[start..end], end))
		})
	}
pub fn collect ( self ) -> Parser < ' a , I , & ' a [ I ] > where O : ' a , { Parser :: new ( move | input : & ' a [ I ] , start : usize | { ( self . method ) ( input , start ) . map ( | ( _ , end ) | ( & input [ start .. end ] , end ) ) } ) }
Collect all matched input symbols.
Collect all matched input symbols .
self