Parser.OrEmpty<T> method (1 of 3)

Succeeds with an empty collection if the parser fails.

public static IParser<IEnumerable<T>> OrEmpty<T>(this IParser<IEnumerable<T>> parser)

See Also


Parser.OrEmpty<T> method (2 of 3)

Succeeds with an empty collection if the parser fails.

public static IParser<IReadOnlyCollection<T>> OrEmpty<T>(
    this IParser<IReadOnlyCollection<T>> parser)

See Also


Parser.OrEmpty<T> method (3 of 3)

Succeeds with an empty collection if the parser fails.

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

See Also