aboutsummaryrefslogtreecommitdiff
path: root/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts
blob: 3c7b21e636cbb26f25ae12c38694d46a0fe31618 (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
export declare const enum CharFlags {
    None = 0,
    IdentifierStart = 1,
    IdentifierPart = 2,
    KeywordCandidate = 4,
    LineTerminator = 8,
    Decimal = 16,
    Octal = 32,
    Hex = 64,
    Binary = 128,
    Exponent = 256,
    ImplicitOctalDigits = 512,
    CarriageReturn = 1024,
    LineFeed = 2048,
    Underscore = 4096,
    StringLiteral = 8192,
    JSXToken = 16384,
    Hyphen = 32768
}
export declare const CharTypes: (number | CharFlags)[];
export declare const isIdStart: number[];
export declare const isIdPart: number[];
export declare function isIdentifierStart(code: number): number;
export declare function isIdentifierPart(code: number): any;
//# sourceMappingURL=charClassifier.d.ts.map