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)
- interface IParser<T>
- class Parser
- namespace Faithlife.Parsing
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)
- interface IParser<T>
- class Parser
- namespace Faithlife.Parsing