aboutsummaryrefslogtreecommitdiff
path: root/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/meriyah/dist/src/lexer/charClassifier.d.ts')
-rw-r--r--node_modules/meriyah/dist/src/lexer/charClassifier.d.ts25
1 files changed, 25 insertions, 0 deletions
diff --git a/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts b/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts
new file mode 100644
index 0000000..3c7b21e
--- /dev/null
+++ b/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts
@@ -0,0 +1,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 \ No newline at end of file