@mirascript/wasm 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/wasm.d.ts +26 -22
- package/lib/wasm.js +27 -23
- package/lib/wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/lib/wasm.d.ts
CHANGED
|
@@ -59,33 +59,37 @@ export enum DiagnosticCode {
|
|
|
59
59
|
ExpressionExpected = 1046,
|
|
60
60
|
PatternExpected = 1047,
|
|
61
61
|
ExclamationInLiteralPattern = 1048,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
62
|
+
MutInRebindPattern = 1049,
|
|
63
|
+
ConstantInBindPattern = 1050,
|
|
64
|
+
MutInDiscardPattern = 1051,
|
|
65
|
+
DiscardInSpreadPattern = 1052,
|
|
66
|
+
SpreadDiscardInRecordPattern = 1053,
|
|
67
|
+
MispositionedSpreadInRecordPattern = 1054,
|
|
68
|
+
InterpolatedNameRecordPattern = 1055,
|
|
69
|
+
BadOmitKeyRecordPattern = 1056,
|
|
70
|
+
AmbiguousRangePattern = 1057,
|
|
71
|
+
DuplicateSpreadPattern = 1058,
|
|
72
|
+
MispositionedRestParameter = 1059,
|
|
73
|
+
UndefinedVariableAssignment = 1060,
|
|
74
|
+
ImmutableVariableAssignment = 1061,
|
|
75
|
+
UninitializedVariable = 1062,
|
|
76
|
+
DuplicateVariableDeclaration = 1063,
|
|
77
|
+
UnexpectedBreak = 1064,
|
|
78
|
+
UnexpectedContinue = 1065,
|
|
79
|
+
MisuseOfGlobalKeyword = 1066,
|
|
80
|
+
BadOmitKeyRecordExpression = 1067,
|
|
81
|
+
UnassignableExpression = 1068,
|
|
82
|
+
NonNumberInRange = 1069,
|
|
83
|
+
NonNumberOrStringInComparison = 1070,
|
|
84
|
+
NonNumberInArithmetic = 1071,
|
|
85
|
+
NonBooleanInLogical = 1072,
|
|
83
86
|
ErrorEnd = 1999,
|
|
84
87
|
WarningStart = 2000,
|
|
85
88
|
UnnecessaryParentheses = 2001,
|
|
86
89
|
MisleadingNilVariable = 2002,
|
|
87
90
|
UnnecessaryIrrefutablePattern = 2003,
|
|
88
|
-
|
|
91
|
+
MatchExpressionHasNoCases = 2004,
|
|
92
|
+
GlobalVariableNotDeclared = 2005,
|
|
89
93
|
WarningEnd = 2999,
|
|
90
94
|
InfoStart = 3000,
|
|
91
95
|
InfoEnd = 3999,
|
package/lib/wasm.js
CHANGED
|
@@ -299,7 +299,7 @@ export function reserved_keywords() {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
|
-
* @enum {1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | 1052 | 1053 | 1054 | 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 | 1067 | 1068 | 1069 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2999 | 3000 | 3999 | 4000 | 4001 | 4002 | 4999 | 5000 | 5001 | 5002 | 5003 | 5004 | 5005 | 5006 | 5999 | 10000 | 10001 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008 | 10009 | 10010 | 10011 | 10012 | 10013 | 10014 | 10015 | 10016 | 10017 | 10018 | 10019 | 10020 | 10021 | 10022 | 10023 | 10024 | 10025 | 10026 | 10027 | 10028 | 10029 | 10030 | 10031 | 10032 | 10033 | 10034 | 10035 | 10036 | 10037 | 10038 | 10039 | 10040 | 10041 | 10042 | 10999 | 11000 | 11001 | 11002 | 11003 | 11004 | 11005 | 11006 | 11007 | 11008 | 11009 | 11010 | 11011 | 11012 | 11013 | 11014 | 11015 | 11016 | 11017 | 11018 | 11019 | 11020 | 11021 | 11022 | 11023 | 11999 | 12000}
|
|
302
|
+
* @enum {1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | 1052 | 1053 | 1054 | 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 | 1067 | 1068 | 1069 | 1070 | 1071 | 1072 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2999 | 3000 | 3999 | 4000 | 4001 | 4002 | 4999 | 5000 | 5001 | 5002 | 5003 | 5004 | 5005 | 5006 | 5999 | 10000 | 10001 | 10002 | 10003 | 10004 | 10005 | 10006 | 10007 | 10008 | 10009 | 10010 | 10011 | 10012 | 10013 | 10014 | 10015 | 10016 | 10017 | 10018 | 10019 | 10020 | 10021 | 10022 | 10023 | 10024 | 10025 | 10026 | 10027 | 10028 | 10029 | 10030 | 10031 | 10032 | 10033 | 10034 | 10035 | 10036 | 10037 | 10038 | 10039 | 10040 | 10041 | 10042 | 10999 | 11000 | 11001 | 11002 | 11003 | 11004 | 11005 | 11006 | 11007 | 11008 | 11009 | 11010 | 11011 | 11012 | 11013 | 11014 | 11015 | 11016 | 11017 | 11018 | 11019 | 11020 | 11021 | 11022 | 11023 | 11999 | 12000}
|
|
303
303
|
*/
|
|
304
304
|
export const DiagnosticCode = Object.freeze({
|
|
305
305
|
ErrorStart: 1000, "1000": "ErrorStart",
|
|
@@ -351,33 +351,37 @@ export const DiagnosticCode = Object.freeze({
|
|
|
351
351
|
ExpressionExpected: 1046, "1046": "ExpressionExpected",
|
|
352
352
|
PatternExpected: 1047, "1047": "PatternExpected",
|
|
353
353
|
ExclamationInLiteralPattern: 1048, "1048": "ExclamationInLiteralPattern",
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
354
|
+
MutInRebindPattern: 1049, "1049": "MutInRebindPattern",
|
|
355
|
+
ConstantInBindPattern: 1050, "1050": "ConstantInBindPattern",
|
|
356
|
+
MutInDiscardPattern: 1051, "1051": "MutInDiscardPattern",
|
|
357
|
+
DiscardInSpreadPattern: 1052, "1052": "DiscardInSpreadPattern",
|
|
358
|
+
SpreadDiscardInRecordPattern: 1053, "1053": "SpreadDiscardInRecordPattern",
|
|
359
|
+
MispositionedSpreadInRecordPattern: 1054, "1054": "MispositionedSpreadInRecordPattern",
|
|
360
|
+
InterpolatedNameRecordPattern: 1055, "1055": "InterpolatedNameRecordPattern",
|
|
361
|
+
BadOmitKeyRecordPattern: 1056, "1056": "BadOmitKeyRecordPattern",
|
|
362
|
+
AmbiguousRangePattern: 1057, "1057": "AmbiguousRangePattern",
|
|
363
|
+
DuplicateSpreadPattern: 1058, "1058": "DuplicateSpreadPattern",
|
|
364
|
+
MispositionedRestParameter: 1059, "1059": "MispositionedRestParameter",
|
|
365
|
+
UndefinedVariableAssignment: 1060, "1060": "UndefinedVariableAssignment",
|
|
366
|
+
ImmutableVariableAssignment: 1061, "1061": "ImmutableVariableAssignment",
|
|
367
|
+
UninitializedVariable: 1062, "1062": "UninitializedVariable",
|
|
368
|
+
DuplicateVariableDeclaration: 1063, "1063": "DuplicateVariableDeclaration",
|
|
369
|
+
UnexpectedBreak: 1064, "1064": "UnexpectedBreak",
|
|
370
|
+
UnexpectedContinue: 1065, "1065": "UnexpectedContinue",
|
|
371
|
+
MisuseOfGlobalKeyword: 1066, "1066": "MisuseOfGlobalKeyword",
|
|
372
|
+
BadOmitKeyRecordExpression: 1067, "1067": "BadOmitKeyRecordExpression",
|
|
373
|
+
UnassignableExpression: 1068, "1068": "UnassignableExpression",
|
|
374
|
+
NonNumberInRange: 1069, "1069": "NonNumberInRange",
|
|
375
|
+
NonNumberOrStringInComparison: 1070, "1070": "NonNumberOrStringInComparison",
|
|
376
|
+
NonNumberInArithmetic: 1071, "1071": "NonNumberInArithmetic",
|
|
377
|
+
NonBooleanInLogical: 1072, "1072": "NonBooleanInLogical",
|
|
375
378
|
ErrorEnd: 1999, "1999": "ErrorEnd",
|
|
376
379
|
WarningStart: 2000, "2000": "WarningStart",
|
|
377
380
|
UnnecessaryParentheses: 2001, "2001": "UnnecessaryParentheses",
|
|
378
381
|
MisleadingNilVariable: 2002, "2002": "MisleadingNilVariable",
|
|
379
382
|
UnnecessaryIrrefutablePattern: 2003, "2003": "UnnecessaryIrrefutablePattern",
|
|
380
|
-
|
|
383
|
+
MatchExpressionHasNoCases: 2004, "2004": "MatchExpressionHasNoCases",
|
|
384
|
+
GlobalVariableNotDeclared: 2005, "2005": "GlobalVariableNotDeclared",
|
|
381
385
|
WarningEnd: 2999, "2999": "WarningEnd",
|
|
382
386
|
InfoStart: 3000, "3000": "InfoStart",
|
|
383
387
|
InfoEnd: 3999, "3999": "InfoEnd",
|
package/lib/wasm_bg.wasm
CHANGED
|
Binary file
|