Parser.DelimitedAllowTrailing<T,U> method

Succeeds if the specified parser succeeds at least once, requiring and ignoring the specified delimiter between each item, and allowing a single optional trailing delimiter.

public static IParser<IReadOnlyList<T>> DelimitedAllowTrailing<T, U>(this IParser<T> parser, 
    IParser<U> delimiter)

See Also