parjs
Version:
A parser-combinator library for JavaScript.
12 lines (11 loc) • 349 B
TypeScript
/**
* @module parjs/combinators
*/
/** */
import { ParjsProjection } from "../parjser";
import { ParjsCombinator } from "../../index";
/**
* Applies `action` to each result emitted by the source parser and emits its results unchanged.
* @param action
*/
export declare function each<T>(action: ParjsProjection<T, void>): ParjsCombinator<T, T>;