parjs
Version:
A parser-combinator library for JavaScript.
12 lines (11 loc) • 325 B
TypeScript
/**
* @module parjs
*/
/** */
import { Parjser } from "../parjser";
/**
* Returns a parser that will parse the string `str` and yield the text
* that was parsed. If it can't, it will fail softly without consuming input.
* @param str The string to parse.
*/
export declare function string(str: string): Parjser<string>;