pub fn lex_terminated_block<I, E>(
kind: TerminatedBlockKind,
) -> impl FnMut(I) -> IResult<I, LexBlock<I>, E>where
I: ToString + InputLength + InputTake + Compare<&'static str> + InputIter + Clone + InputTakeAtPosition + Offset + Slice<RangeTo<usize>> + Slice<RangeFrom<usize>> + Span,
<I as InputTakeAtPosition>::Item: AsChar,
<I as InputIter>::Item: AsChar,
E: ContextError<I> + ParseError<I>,