Example #1
0
 public static Parser <TToken, IDelayed <ISeq <T> > > SepEndBy0 <TToken, T>(
     Parser <TToken, T> parser,
     Parser <TToken, Unit> sep)
 {
     return(InternalCombinator.SepBy0(parser, sep).SelectMany(value => sep.Optional().Select(_ => value)));
 }