parjs
Version:
Library for building parsers using combinators.
8 lines • 302 B
TypeScript
import type { Parjser } from "../parjser";
/**
* Returns a parser that succeeds if there is no more input.
*
* @param result Optionally, the result the parser will yield. Defaults to undefined.
*/
export declare function eof<T = undefined>(result?: T): Parjser<T>;
//# sourceMappingURL=eof.d.ts.map