UNPKG

parjs

Version:

Library for building parsers using combinators.

9 lines 351 B
import type { FailureInfo } from "../result"; import type { ParjsCombinator } from "../parjser"; /** * Applies the source parser and makes sure it captured some input. * * @param pFailure The failure info. */ export declare function mustCapture<T>(pFailure?: Partial<FailureInfo>): ParjsCombinator<T, T>; //# sourceMappingURL=must-capture.d.ts.map