pub fn lex_nested_block<I, E>(
kind: NestedBlockKind,
) -> 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 + Copy,
E: ContextError<I> + ParseError<I>,Expand description
rough block simply makes sure that the opening and closing symbols match it accounts for multiple embedded blocks of the same kind but NOT of differing kinds