Parser.Repeat<T> method (1 of 2)

Succeeds if the parser succeeds the specified number of times. The value is a collection of the parsed items.

public static IParser<IReadOnlyList<T>> Repeat<T>(this IParser<T> parser, int exactly)

See Also


Parser.Repeat<T> method (2 of 2)

Succeeds if the parser succeeds the specified number of times. The value is a collection of the parsed items.

public static IParser<IReadOnlyList<T>> Repeat<T>(this IParser<T> parser, int atLeast, int atMost)

See Also