parjs
Version:
Library for building parsers using combinators.
10 lines • 419 B
TypeScript
import type { ParjsCombinator } from "../parjser";
/**
* Applies the source parser 1 or more times until it fails softly. Yields all of its results in an
* array.
*
* @param maxIterations Optionally, the maximum number of times to apply the source parser. Defaults
* to `Infinity`.
*/
export declare function many1<T>(maxIterations?: number): ParjsCombinator<T, [T, ...T[]]>;
//# sourceMappingURL=many1.d.ts.map