예제 #1
0
 /// <summary>
 /// Appends a successfully parsed value to the end of a successfully parsed collection.
 /// </summary>
 public static IParser <IReadOnlyList <T> > Append <T>(this IParser <IEnumerable <T> > firstParser, IParser <T> secondParser)
 {
     return(firstParser.Concat(secondParser.Once()));
 }