nom_locate

Function position

Source
pub fn position<T, E>(s: T) -> IResult<T, T, E>
where E: ParseError<T>, T: InputIter + InputTake,
Expand description

Capture the position of the current fragment