UNPKG

buntis

Version:

A 100% compliant, self-hosted typescript parser that emits an ESTree-compatible abstract syntax tree

9 lines 674 B
import { Token } from '../token'; import { ParserState, Context } from '../common'; import { Escape } from './recovery'; export declare function scanIdentifierOrKeyword(parser: ParserState, context: Context, canBeKeyword: 0 | 1): Token; export declare function scanIdentifierSlowPath(parser: ParserState, context: Context, value: string, canBeKeyword: 0 | 1): Token; export declare function scanIdentifierUnicodeEscape(parser: ParserState): Escape | number; export declare function scanUnicodeEscape(parser: ParserState): number; export declare function scanUnicodeEscapeIdStart(parser: ParserState, context: Context): Token; //# sourceMappingURL=identifier.d.ts.map