parjs
Version:
A parser-combinator library for JavaScript.
16 lines (15 loc) • 448 B
TypeScript
/**
* @module parjs
*/
/** */
import { Parjser } from "../parjser";
/**
* Parses an ASCII newline, which can be a single character or the sequence
* `\r\n`. Yields the text that was parsed.
*/
export declare function newline(): Parjser<string>;
/**
* Parses a Unicode newline, which includes ASCII newline strings as well as
* other vertical separators such as PARAGRAPH SEPARATOR.
*/
export declare function uniNewline(): Parjser<string>;