diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-24 14:41:48 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-24 14:41:48 +0200 |
commit | d25e11bee6ca5ca523884da132d18e1400e077b9 (patch) | |
tree | 8af39fde19f7ed640a60fb397c7edd647dff1c4c /node_modules/meriyah/dist/src/lexer | |
download | kartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.tar.gz kartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.tar.bz2 kartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.zip |
Initial commit
Diffstat (limited to 'node_modules/meriyah/dist/src/lexer')
24 files changed, 142 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 diff --git a/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts.map b/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts.map new file mode 100644 index 0000000..0a48426 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/charClassifier.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"charClassifier.d.ts","sourceRoot":"","sources":["../../../src/lexer/charClassifier.ts"],"names":[],"mappings":"AAGA,0BAAkB,SAAS;IACzB,IAAI,IAAI;IACR,eAAe,IAAe;IAC9B,cAAc,IAAgB;IAC9B,gBAAgB,IAAc;IAC9B,cAAc,IAAgB;IAC9B,OAAO,KAAuB;IAC9B,KAAK,KAAyB;IAC9B,GAAG,KAA2B;IAC9B,MAAM,MAAwB;IAC9B,QAAQ,MAAsB;IAC9B,mBAAmB,MAAW;IAC9B,cAAc,OAAiB;IAC/B,QAAQ,OAAuB;IAC/B,UAAU,OAAqB;IAC/B,aAAa,OAAkB;IAC/B,QAAQ,QAAuB;IAC/B,MAAM,QAAyB;CAChC;AAKD,eAAO,MAAM,SAAS,wBAiIrB,CAAC;AAEF,eAAO,MAAM,SAAS,UAiIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAiIpB,CAAC;AAGF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAYtD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAclD"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/comments.d.ts b/node_modules/meriyah/dist/src/lexer/comments.d.ts new file mode 100644 index 0000000..6c46f07 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/comments.d.ts @@ -0,0 +1,15 @@ +import { LexerState } from './common';
+import { Context, ParserState } from '../common';
+export declare const enum CommentType {
+ Single = 0,
+ Multi = 1,
+ HTMLOpen = 2,
+ HTMLClose = 3,
+ HashBang = 4
+}
+export declare const CommentTypes: string[];
+export declare function skipHashBang(parser: ParserState): void;
+export declare function skipSingleHTMLComment(parser: ParserState, source: string, state: LexerState, context: Context, type: CommentType, start: number, line: number, column: number): LexerState;
+export declare function skipSingleLineComment(parser: ParserState, source: string, state: LexerState, type: CommentType, start: number, line: number, column: number): LexerState;
+export declare function skipMultiLineComment(parser: ParserState, source: string, state: LexerState): LexerState | void;
+//# sourceMappingURL=comments.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/comments.d.ts.map b/node_modules/meriyah/dist/src/lexer/comments.d.ts.map new file mode 100644 index 0000000..20237b7 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/comments.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/lexer/comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,UAAU,EAAgC,MAAM,UAAU,CAAC;AAGjF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGjD,0BAAkB,WAAW;IAC3B,MAAM,IAAA;IACN,KAAK,IAAA;IACL,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,QAAQ,IAAA;CACT;AAED,eAAO,MAAM,YAAY,UAA0E,CAAC;AAOpG,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAiBtD;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACb,UAAU,CAGZ;AAQD,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,WAAW,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACb,UAAU,CAsCZ;AAQD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,IAAI,CA+D9G"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/common.d.ts b/node_modules/meriyah/dist/src/lexer/common.d.ts new file mode 100644 index 0000000..01894f0 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/common.d.ts @@ -0,0 +1,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
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/common.d.ts.map b/node_modules/meriyah/dist/src/lexer/common.d.ts.map new file mode 100644 index 0000000..fe2d42b --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/common.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/lexer/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAAE,WAAW,EAAS,MAAM,WAAW,CAAC;AAI/C,0BAAkB,UAAU;IAC1B,IAAI,IAAI;IACR,OAAO,IAAS;IAChB,QAAQ,IAAS;CAClB;AAED,0BAAkB,UAAU;IAC1B,aAAa,IAAS;IACtB,MAAM,IAAS;IACf,KAAK,IAAS;IACd,GAAG,IAAS;IACZ,OAAO,KAAS;IAChB,eAAe,KAAS;IACxB,KAAK,KAAS;IACd,eAAe,MAAS;IACxB,iBAAiB,KAA4B;CAC9C;AAOD,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAGvD;AAQD,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,CAYhF;AAKD,wBAAgB,eAAe,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAO5E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAKrD;AAID,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAahE;AAQD,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAIvD;AAOD,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE1C;AAOD,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,KAAK,GAAG,MAAM,CAuBjD"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/decodeHTML.d.ts b/node_modules/meriyah/dist/src/lexer/decodeHTML.d.ts new file mode 100644 index 0000000..82a45ae --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/decodeHTML.d.ts @@ -0,0 +1,2 @@ +export declare function decodeHTMLStrict(text: string): string;
+//# sourceMappingURL=decodeHTML.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/decodeHTML.d.ts.map b/node_modules/meriyah/dist/src/lexer/decodeHTML.d.ts.map new file mode 100644 index 0000000..c691b66 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/decodeHTML.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"decodeHTML.d.ts","sourceRoot":"","sources":["../../../src/lexer/decodeHTML.ts"],"names":[],"mappings":"AAinEA,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAYrD"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/identifier.d.ts b/node_modules/meriyah/dist/src/lexer/identifier.d.ts new file mode 100644 index 0000000..832f2bd --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/identifier.d.ts @@ -0,0 +1,9 @@ +import { ParserState, Context } from '../common';
+import { Token } from '../token';
+export declare function scanIdentifier(parser: ParserState, context: Context, isValidAsKeyword: 0 | 1): Token;
+export declare function scanUnicodeIdentifier(parser: ParserState, context: Context): Token;
+export declare function scanIdentifierSlowCase(parser: ParserState, context: Context, hasEscape: 0 | 1, isValidAsKeyword: number): Token;
+export declare function scanPrivateIdentifier(parser: ParserState): Token;
+export declare function scanIdentifierUnicodeEscape(parser: ParserState): number;
+export declare function scanUnicodeEscape(parser: ParserState): number;
+//# sourceMappingURL=identifier.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/identifier.d.ts.map b/node_modules/meriyah/dist/src/lexer/identifier.d.ts.map new file mode 100644 index 0000000..021a233 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/identifier.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"identifier.d.ts","sourceRoot":"","sources":["../../../src/lexer/identifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,KAAK,EAAoB,MAAM,UAAU,CAAC;AAYnD,wBAAgB,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC,GAAG,CAAC,GAAG,KAAK,CAOpG;AAQD,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,KAAK,CAKlF;AAUD,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,CAAC,GAAG,CAAC,EAChB,gBAAgB,EAAE,MAAM,GACvB,KAAK,CA8DP;AAOD,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,WAAW,GAAG,KAAK,CAGhE;AAOD,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAQvE;AAOD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAkC7D"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/index.d.ts b/node_modules/meriyah/dist/src/lexer/index.d.ts new file mode 100644 index 0000000..5c7892d --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/index.d.ts @@ -0,0 +1,10 @@ +export { scanSingleToken, nextToken, TokenLookup } from './scan';
+export { skipMultiLineComment, skipSingleLineComment, skipHashBang, skipSingleHTMLComment, CommentType } from './comments';
+export { advanceChar, consumeMultiUnitCodePoint, isExoticECMAScriptWhitespace, fromCodePoint, toHex, consumeLineFeed, scanNewLine, LexerState, NumberKind, convertTokenType } from './common';
+export { CharTypes, CharFlags, isIdentifierStart, isIdentifierPart } from './charClassifier';
+export { scanIdentifier, scanIdentifierSlowCase, scanUnicodeIdentifier, scanPrivateIdentifier, scanUnicodeEscape } from './identifier';
+export { scanString } from './string';
+export { scanNumber } from './numeric';
+export { scanTemplate, scanTemplateTail } from './template';
+export { scanRegularExpression } from './regexp';
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/index.d.ts.map b/node_modules/meriyah/dist/src/lexer/index.d.ts.map new file mode 100644 index 0000000..1f78f2b --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lexer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACjE,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACZ,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,EACb,KAAK,EACL,eAAe,EACf,WAAW,EACX,UAAU,EACV,UAAU,EACV,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC7F,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/jsx.d.ts b/node_modules/meriyah/dist/src/lexer/jsx.d.ts new file mode 100644 index 0000000..3287c45 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/jsx.d.ts @@ -0,0 +1,7 @@ +import { Token } from '../token';
+import { ParserState, Context } from '../common';
+export declare function scanJSXAttributeValue(parser: ParserState, context: Context): Token;
+export declare function scanJSXString(parser: ParserState, context: Context): Token;
+export declare function scanJSXToken(parser: ParserState, context: Context): Token;
+export declare function scanJSXIdentifier(parser: ParserState): Token;
+//# sourceMappingURL=jsx.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/jsx.d.ts.map b/node_modules/meriyah/dist/src/lexer/jsx.d.ts.map new file mode 100644 index 0000000..1b704f6 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/jsx.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsx.d.ts","sourceRoot":"","sources":["../../../src/lexer/jsx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWjD,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,KAAK,CASlF;AAOD,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,KAAK,CAe1E;AAOD,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,KAAK,CAuDzE;AAOD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,KAAK,CAW5D"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/numeric.d.ts b/node_modules/meriyah/dist/src/lexer/numeric.d.ts new file mode 100644 index 0000000..d9169a2 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/numeric.d.ts @@ -0,0 +1,6 @@ +import { ParserState, Context } from '../common';
+import { Token } from '../token';
+import { NumberKind } from './common';
+export declare function scanNumber(parser: ParserState, context: Context, kind: NumberKind): Token;
+export declare function scanDecimalDigitsOrSeparator(parser: ParserState, char: number): string;
+//# sourceMappingURL=numeric.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/numeric.d.ts.map b/node_modules/meriyah/dist/src/lexer/numeric.d.ts.map new file mode 100644 index 0000000..0986ccd --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/numeric.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"numeric.d.ts","sourceRoot":"","sources":["../../../src/lexer/numeric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAS,MAAM,WAAW,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAsB,UAAU,EAAE,MAAM,UAAU,CAAC;AAY1D,wBAAgB,UAAU,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,GAAG,KAAK,CA8MzF;AAQD,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CA8BtF"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/regexp.d.ts b/node_modules/meriyah/dist/src/lexer/regexp.d.ts new file mode 100644 index 0000000..e9712a0 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/regexp.d.ts @@ -0,0 +1,4 @@ +import { Context, ParserState } from '../common';
+import { Token } from '../token';
+export declare function scanRegularExpression(parser: ParserState, context: Context): Token;
+//# sourceMappingURL=regexp.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/regexp.d.ts.map b/node_modules/meriyah/dist/src/lexer/regexp.d.ts.map new file mode 100644 index 0000000..67fb310 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/regexp.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"regexp.d.ts","sourceRoot":"","sources":["../../../src/lexer/regexp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAYjC,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,KAAK,CA+GlF"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/scan.d.ts b/node_modules/meriyah/dist/src/lexer/scan.d.ts new file mode 100644 index 0000000..6a9177b --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/scan.d.ts @@ -0,0 +1,7 @@ +import { Token } from '../token';
+import { ParserState, Context } from '../common';
+import { LexerState } from './common';
+export declare const TokenLookup: Token[];
+export declare function nextToken(parser: ParserState, context: Context): void;
+export declare function scanSingleToken(parser: ParserState, context: Context, state: LexerState): Token;
+//# sourceMappingURL=scan.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/scan.d.ts.map b/node_modules/meriyah/dist/src/lexer/scan.d.ts.map new file mode 100644 index 0000000..0988895 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/scan.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"scan.d.ts","sourceRoot":"","sources":["../../../src/lexer/scan.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAS,MAAM,WAAW,CAAC;AAGxD,OAAO,EAEL,UAAU,EAOX,MAAM,UAAU,CAAC;AAsBlB,eAAO,MAAM,WAAW,SAiIvB,CAAC;AAQF,wBAAgB,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAmBrE;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,GAAG,KAAK,CA4c/F"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/string.d.ts b/node_modules/meriyah/dist/src/lexer/string.d.ts new file mode 100644 index 0000000..bf9631c --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/string.d.ts @@ -0,0 +1,13 @@ +import { ParserState, Context } from '../common';
+import { Token } from '../token';
+export declare const enum Escape {
+ Empty = -1,
+ StrictOctal = -2,
+ EightOrNine = -3,
+ InvalidHex = -4,
+ OutOfRange = -5
+}
+export declare function scanString(parser: ParserState, context: Context, quote: number): Token;
+export declare function parseEscape(parser: ParserState, context: Context, first: number): number;
+export declare function handleStringError(state: ParserState, code: Escape, isTemplate: 0 | 1): void;
+//# sourceMappingURL=string.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/string.d.ts.map b/node_modules/meriyah/dist/src/lexer/string.d.ts.map new file mode 100644 index 0000000..af4594c --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/string.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/lexer/string.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAS,MAAM,WAAW,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMjC,0BAAkB,MAAM;IACtB,KAAK,KAAK;IACV,WAAW,KAAK;IAChB,WAAW,KAAK;IAChB,UAAU,KAAK;IACf,UAAU,KAAK;CAChB;AAKD,wBAAgB,UAAU,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,KAAK,CAoCtF;AAID,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAkKxF;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAmB3F"}
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/template.d.ts b/node_modules/meriyah/dist/src/lexer/template.d.ts new file mode 100644 index 0000000..bbcb08c --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/template.d.ts @@ -0,0 +1,5 @@ +import { ParserState, Context } from '../common';
+import { Token } from '../token';
+export declare function scanTemplate(parser: ParserState, context: Context): Token;
+export declare function scanTemplateTail(parser: ParserState, context: Context): Token;
+//# sourceMappingURL=template.d.ts.map
\ No newline at end of file diff --git a/node_modules/meriyah/dist/src/lexer/template.d.ts.map b/node_modules/meriyah/dist/src/lexer/template.d.ts.map new file mode 100644 index 0000000..f187797 --- /dev/null +++ b/node_modules/meriyah/dist/src/lexer/template.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../src/lexer/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AASjC,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,KAAK,CAuDzE;AAqCD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,KAAK,CAK7E"}
\ No newline at end of file |