Parser.Once<T> method

Succeeds if the parser succeeds. The value is a one-item collection of the successfully parsed item.

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

See Also