parjs
Version:
Library for building parsers using combinators.
10 lines • 459 B
TypeScript
import type { ParjsCombinator, ParjsProjection } from "../parjser";
import type { ImplicitParjser } from "../wrap-implicit";
/**
* Applies the source parser, and then applies a selector on the source parser's result and user
* state to choose or create the parser to apply next.
*
* @param selector
*/
export declare function thenPick<A, B>(selector: ParjsProjection<A, ImplicitParjser<B>>): ParjsCombinator<A, B>;
//# sourceMappingURL=then-pick.d.ts.map