Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 909 Bytes

Repeat.md

File metadata and controls

31 lines (20 loc) · 909 Bytes

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