Parser.AtMostOnce<T> method

Always succeeds. The value is a one-item collection of a single successfully parsed item; otherwise an empty collection.

public static IParser<IReadOnlyList<T>> AtMostOnce<T>(this IParser<T> parser)

See Also