parjs
Version:
A parser-combinator library for JavaScript.
13 lines (12 loc) • 365 B
TypeScript
/**
* @module parjs
*/
/** */
import { Parjser } from "../parjser";
/**
* Returns a parser that will parse any of the strings in `strs` and yield
* the text that was parsed. If it can't, it will fail softly without consuming
* input.
* @param strs A set of string options to parse.
*/
export declare function anyStringOf(...strs: string[]): Parjser<string>;