UNPKG

parjs

Version:

A parser-combinator library for JavaScript.

12 lines (11 loc) 284 B
/** * @module parjs */ /** */ import { 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>(result?: T): Parjser<T>;