parjs
Version:
Library for building parsers using combinators.
12 lines • 458 B
TypeScript
import type { 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>;
//# sourceMappingURL=newline.d.ts.map