pub fn pos(self) -> Parser<'a, I, usize>
	where
		O: 'a,
	{
		Parser::new(move |input: &'a [I], start: usize| {
			(self.method)(input, start).map(|(_, pos)| (pos, pos))
		})
	}
/// Get input position after matching parser.
Get input position after matching parser.
Get input position after matching parser .
pub fn pos(self) -> Parser<'a, I, usize>
	where
		O: 'a,
	{
		Parser::new(move |input: &'a [I], start: usize| {
			(self.method)(input, start).map(|(_, pos)| (pos, pos))
		})
	}
pub fn pos ( self ) -> Parser < ' a , I , usize > where O : ' a , { Parser :: new ( move | input : & ' a [ I ] , start : usize | { ( self . method ) ( input , start ) . map ( | ( _ , pos ) | ( pos , pos ) ) } ) }
Get input position after matching parser.
Get input position after matching parser .
self