buntis
Version:
A 100% compliant, self-hosted typescript parser that emits an ESTree-compatible abstract syntax tree
10 lines • 625 B
TypeScript
import { ParserState } from '../common';
import { Escape } from './recovery';
export declare function advance(parser: ParserState): number;
export declare function fromCodePoint(codePoint: number): string;
export declare function toHex(code: number): number;
export declare function consumeMultiUnitCodePoint(parser: ParserState, hi: number): Escape;
export declare function consumeLineFeed(parser: ParserState, lastIsCR: 0 | 1): void;
export declare function advanceNewline(parser: ParserState): void;
export declare function isExoticECMAScriptWhitespace(code: number): boolean;
//# sourceMappingURL=common.d.ts.map