blob: 01894f0d0ba995e7486c24c04becfa421d36682d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { Token } from '../token';
import { ParserState } from '../common';
export declare const enum LexerState {
None = 0,
NewLine = 1,
LastIsCR = 4
}
export declare const enum NumberKind {
ImplicitOctal = 1,
Binary = 2,
Octal = 4,
Hex = 8,
Decimal = 16,
NonOctalDecimal = 32,
Float = 64,
ValidBigIntKind = 128,
DecimalNumberKind = 48
}
export declare function advanceChar(parser: ParserState): number;
export declare function consumeMultiUnitCodePoint(parser: ParserState, hi: number): 0 | 1;
export declare function consumeLineFeed(parser: ParserState, state: LexerState): void;
export declare function scanNewLine(parser: ParserState): void;
export declare function isExoticECMAScriptWhitespace(ch: number): boolean;
export declare function fromCodePoint(codePoint: number): string;
export declare function toHex(code: number): number;
export declare function convertTokenType(t: Token): string;
//# sourceMappingURL=common.d.ts.map
|