Function nom::eof [] [src]

pub fn eof<'a, T: ?Sized>(input: &'a T) -> IResult<&'a T, &'a T> where T: Index<Range<usize>, Output=T> + Index<RangeFrom<usize>, Output=T>, &'a T: InputLength

Recognizes empty input buffers

useful to verify that the previous parsers used all of the input