UNPKG

parjs

Version:

A parser-combinator library for JavaScript.

11 lines (10 loc) 277 B
/** * @module parjs/combinators */ /** */ import { ParjsCombinator } from "../../"; /** * Applies the source parser. If it succeeds, backtracks to the current position in the input * and yields the result. */ export declare function backtrack<T>(): ParjsCombinator<T, T>;