parjs
Version:
A parser-combinator library for JavaScript.
12 lines (11 loc) • 298 B
TypeScript
/**
* @module parjs
*/
/** */
import { Parjser } from "../parjser";
/**
* Returns a parser that parses exactly `length` characters and yields the
* text that was parsed.
* @param length The number of characters to parse.
*/
export declare function stringLen(length: number): Parjser<string>;