fix(es/minifier): Don't emit invalid code (#3302)

swc_ecma_minifier:
 - Add lots of debug assertions for invalid codes.
 - Remove all invalid AST nodes eagerly.
 - `pure`: Normalize `PatOrExpr`.
 - `analyzer`: Handle `PatOrExpr` correctly.
This commit is contained in:
Donny/강동윤 2022-01-18 20:52:21 +09:00 committed by GitHub
parent 1e4bf76c2b
commit 8e796cdc0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
487 changed files with 93631 additions and 2341 deletions

View File

@ -1,9 +1,11 @@
var X, X1;
((X1 = X || (X = {})).Y || (X1.Y = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}
}, (function(X2) {
var X;
!function(X1) {
(X1.Y || (X1.Y = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}
};
}(X || (X = {})), (function(X2) {
var Y;
let Point;
(Point = (Y = X2.Y || (X2.Y = {})).Point || (Y.Point = {})).Origin = new Point(0, 0);

View File

@ -1,9 +1,11 @@
var X, X1;
((X1 = X || (X = {})).Y || (X1.Y = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}
}, (function(X2) {
var X;
!function(X1) {
(X1.Y || (X1.Y = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}
};
}(X || (X = {})), (function(X2) {
var Y;
let Point;
(Point = (Y = X2.Y || (X2.Y = {})).Point || (Y.Point = {})).Origin = new Point(0, 0);

View File

@ -1,5 +1,7 @@
var enumdule, enumdule;
(enumdule = enumdule || (enumdule = {}))[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue", (enumdule || (enumdule = {})).Point = class {
var enumdule;
!function(enumdule) {
enumdule[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue";
}(enumdule || (enumdule = {})), (enumdule || (enumdule = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}

View File

@ -1,10 +1,12 @@
var enumdule, enumdule;
(enumdule = enumdule || (enumdule = {}))[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue", (function(enumdule1) {
var enumdule;
!function(enumdule) {
enumdule[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue";
}(enumdule || (enumdule = {})), (function(enumdule) {
var Point = function(x, y) {
"use strict";
(function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
})(this, Point), this.x = x, this.y = y;
};
enumdule1.Point = Point;
enumdule.Point = Point;
})(enumdule || (enumdule = {})), enumdule.Red, new enumdule.Point(0, 0);

View File

@ -1,9 +1,11 @@
var A, A1;
(A1 = A || (A = {})).Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
var A;
!function(A1) {
A1.Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
}(A || (A = {}));

View File

@ -1,9 +1,11 @@
var A, A1;
(A1 = A || (A = {})).Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
var A;
!function(A1) {
A1.Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
}(A || (A = {}));

View File

@ -1,9 +1,11 @@
var A, A1;
(A1 = A || (A = {})).Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
var A;
!function(A1) {
A1.Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
}(A || (A = {}));

View File

@ -1,9 +1,11 @@
var A, A1;
(A1 = A || (A = {})).Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
var A;
!function(A1) {
A1.Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
}(A || (A = {}));

View File

@ -1,9 +1,11 @@
var A, A1;
(A1 = A || (A = {})).Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
var A;
!function(A1) {
A1.Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
}(A || (A = {}));

View File

@ -1,9 +1,11 @@
var A, A1;
(A1 = A || (A = {})).Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
var A;
!function(A1) {
A1.Origin = {
x: 0,
y: 0
}, A1.Origin3d = {
x: 0,
y: 0,
z: 0
};
}(A || (A = {}));

View File

@ -1,13 +1,15 @@
var A, B, A1;
var A, B;
(A || (A = {})).Point = function() {
return {
x: 0,
y: 0
};
}, ((A1 = A || (A = {})).Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
}, A.Point, A.Point(), A.Point.Origin, (function(B1) {
}, (function(A1) {
(A1.Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
};
})(A || (A = {})), A.Point, A.Point(), A.Point.Origin, (function(B1) {
function Point() {
return {
x: 0,

View File

@ -1,13 +1,15 @@
var A, B, A1;
var A, B;
(A || (A = {})).Point = function() {
return {
x: 0,
y: 0
};
}, ((A1 = A || (A = {})).Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
}, A.Point, A.Point(), A.Point.Origin, (function(B1) {
}, (function(A1) {
(A1.Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
};
})(A || (A = {})), A.Point, A.Point(), A.Point.Origin, (function(B1) {
var Point = function() {
return {
x: 0,

View File

@ -1,10 +1,12 @@
var A, B, B1;
var A, B;
(A || (A = {})).Point = function() {
return {
x: 0,
y: 0
};
}, ((B1 = B || (B = {})).Point || (B1.Point = {})).Origin = {
x: 0,
y: 0
}, A.Point, B.Point.Origin;
}, (function(B1) {
(B1.Point || (B1.Point = {})).Origin = {
x: 0,
y: 0
};
})(B || (B = {})), A.Point, B.Point.Origin;

View File

@ -1,10 +1,12 @@
var A, B, B1;
var A, B;
(A || (A = {})).Point = function() {
return {
x: 0,
y: 0
};
}, ((B1 = B || (B = {})).Point || (B1.Point = {})).Origin = {
x: 0,
y: 0
}, A.Point, B.Point.Origin;
}, (function(B1) {
(B1.Point || (B1.Point = {})).Origin = {
x: 0,
y: 0
};
})(B || (B = {})), A.Point, B.Point.Origin;

View File

@ -1,6 +1,12 @@
var obj, key, value;
import regeneratorRuntime from "regenerator-runtime";
obj = {}, key = foo(), value = regeneratorRuntime.mark(function _callee() {
!function(obj, key, value) {
return key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value, obj;
}({}, foo(), regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function(_ctx) {
for(;;)switch(_ctx.prev = _ctx.next){
case 0:
@ -8,9 +14,4 @@ obj = {}, key = foo(), value = regeneratorRuntime.mark(function _callee() {
return _ctx.stop();
}
}, _callee);
}), key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value;
}));

View File

@ -1,12 +1,14 @@
var X, X1;
!function(X2) {
var X;
!function(X1) {
var Y;
let Point;
(Point = (Y = X2.Y || (X2.Y = {})).Point || (Y.Point = {})).Origin = new Point(0, 0);
}(X || (X = {})), ((X1 = X || (X = {})).Y || (X1.Y = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}
}, (A || (A = {})).Instance = new A();
(Point = (Y = X1.Y || (X1.Y = {})).Point || (Y.Point = {})).Origin = new Point(0, 0);
}(X || (X = {})), (function(X2) {
(X2.Y || (X2.Y = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}
};
})(X || (X = {})), (A || (A = {})).Instance = new A();
class A {
}

View File

@ -1,6 +1,8 @@
var enumdule, enumdule;
var enumdule;
(enumdule || (enumdule = {})).Point = class {
constructor(x, y){
this.x = x, this.y = y;
}
}, (enumdule = enumdule || (enumdule = {}))[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue", enumdule.Red, new enumdule.Point(0, 0);
}, (function(enumdule) {
enumdule[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue";
})(enumdule || (enumdule = {})), enumdule.Red, new enumdule.Point(0, 0);

View File

@ -1,4 +1,4 @@
var enumdule, enumdule;
var enumdule;
!function(enumdule1) {
var Point = function(x, y) {
"use strict";
@ -7,4 +7,6 @@ var enumdule, enumdule;
})(this, Point), this.x = x, this.y = y;
};
enumdule1.Point = Point;
}(enumdule || (enumdule = {})), (enumdule = enumdule || (enumdule = {}))[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue", enumdule.Red, new enumdule.Point(0, 0);
}(enumdule || (enumdule = {})), (function(enumdule) {
enumdule[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue";
})(enumdule || (enumdule = {})), enumdule.Red, new enumdule.Point(0, 0);

View File

@ -1,8 +1,10 @@
var A, B, A1;
((A1 = A || (A = {})).Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
}, (A || (A = {})).Point = function() {
var A, B;
!function(A1) {
(A1.Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
};
}(A || (A = {})), (A || (A = {})).Point = function() {
return {
x: 0,
y: 0

View File

@ -1,8 +1,10 @@
var A, B, A1;
((A1 = A || (A = {})).Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
}, (A || (A = {})).Point = function() {
var A, B;
!function(A1) {
(A1.Point || (A1.Point = {})).Origin = {
x: 0,
y: 0
};
}(A || (A = {})), (A || (A = {})).Point = function() {
return {
x: 0,
y: 0

View File

@ -1,4 +1,6 @@
var A, A1;
(A = A1 || (A1 = {})).A = class {
}, A.AG = class {
}, new A1.A(), new A1.AG(), new A1.A2(), new A1.A2();
var A;
!function(A1) {
A1.A = class {
}, A1.AG = class {
};
}(A || (A = {})), new A.A(), new A.AG(), new A.A2(), new A.A2();

View File

@ -1,6 +1,8 @@
var A, A1;
(A = A1 || (A1 = {})).fn = function(s) {
return !0;
}, A.fng = function(s) {
return null;
}, A1.fn, A1.fng, A1.fn2, A1.fng2;
var A;
!function(A1) {
A1.fn = function(s) {
return !0;
}, A1.fng = function(s) {
return null;
};
}(A || (A = {})), A.fn, A.fng, A.fn2, A.fng2;

View File

@ -1,6 +1,8 @@
var A, A1;
(A1 = A || (A = {})).fn = function(s) {
return !0;
}, A1.fng = function(s) {
return null;
}, A.fn, A.fng, A.fn2, A.fng2;
var A;
!function(A1) {
A1.fn = function(s) {
return !0;
}, A1.fng = function(s) {
return null;
};
}(A || (A = {})), A.fn, A.fng, A.fn2, A.fng2;

View File

@ -1,7 +1,9 @@
var A, X, X1;
var A, X;
(A || (A = {})).Point = class {
}, (function(X2) {
}, (function(X1) {
var Y;
((Y = X2.Y || (X2.Y = {})).Z || (Y.Z = {})).Line = class {
((Y = X1.Y || (X1.Y = {})).Z || (Y.Z = {})).Line = class {
};
})(X || (X = {})), (X1 = X || (X = {})).Y || (X1.Y = {});
})(X || (X = {})), (function(X2) {
X2.Y || (X2.Y = {});
})(X || (X = {}));

View File

@ -1,19 +1,22 @@
var A, A1;
((A = A2 || (A2 = {})).Utils || (A.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
!function(A1) {
(A1.Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
};
}, A1.Origin = {
x: 0,
y: 0
};
}, A.Origin = {
x: 0,
y: 0
}, ((A1 = A2 || (A2 = {})).Utils || (A1.Utils = {})).Plane = class {
constructor(tl, br){
this.tl = tl, this.br = br;
}
};
var A2, o, o, o = A2.Origin, o = A2.Utils.mirror(o);
new A2.Utils.Plane(o, {
}(A || (A = {})), (function(A2) {
(A2.Utils || (A2.Utils = {})).Plane = class {
constructor(tl, br){
this.tl = tl, this.br = br;
}
};
})(A || (A = {}));
var A, o, o, o = A.Origin, o = A.Utils.mirror(o);
new A.Utils.Plane(o, {
x: 1,
y: 1
});

View File

@ -1,13 +1,14 @@
var A;
((A = A1 || (A1 = {})).Utils || (A.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
!function(A1) {
(A1.Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
};
}, A1.Origin = {
x: 0,
y: 0
};
}, A.Origin = {
x: 0,
y: 0
}, (function(A2) {
}(A || (A = {})), (function(A2) {
var Utils, Plane;
Utils = A2.Utils || (A2.Utils = {}), Plane = function(tl, br) {
"use strict";
@ -15,9 +16,9 @@ var A;
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
})(this, Plane), this.tl = tl, this.br = br;
}, Utils.Plane = Plane;
})(A1 || (A1 = {}));
var A1, o, o, o = A1.Origin, o = A1.Utils.mirror(o);
new A1.Utils.Plane(o, {
})(A || (A = {}));
var A, o, o, o = A.Origin, o = A.Utils.mirror(o);
new A.Utils.Plane(o, {
x: 1,
y: 1
});

View File

@ -1,17 +1,21 @@
var A, A1, A2;
((A1 = A || (A = {})).Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
export var A;
!function(A1) {
(A1.Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
};
}, A1.Origin = {
x: 0,
y: 0
};
}, A1.Origin = {
x: 0,
y: 0
}, (A2 = A || (A = {})).Origin = {
x: 0,
y: 0
}, (A2.Utils || (A2.Utils = {})).Plane = class {
constructor(tl, br){
this.tl = tl, this.br = br;
}
};
}(A || (A = {})), (function(A2) {
A2.Origin = {
x: 0,
y: 0
}, (A2.Utils || (A2.Utils = {})).Plane = class {
constructor(tl, br){
this.tl = tl, this.br = br;
}
};
})(A || (A = {}));

View File

@ -1,13 +1,15 @@
var A, A1;
((A1 = A || (A = {})).Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
export var A;
!function(A1) {
(A1.Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
};
}, A1.Origin = {
x: 0,
y: 0
};
}, A1.Origin = {
x: 0,
y: 0
}, (function(A2) {
}(A || (A = {})), (function(A2) {
var Utils, Plane;
A2.Origin = {
x: 0,

View File

@ -1,19 +1,22 @@
var A, A1;
((A = A2 || (A2 = {})).Utils || (A.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
!function(A1) {
(A1.Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
};
};
}, (A1 = A2 || (A2 = {})).Origin = {
x: 0,
y: 0
}, (A1.Utils || (A1.Utils = {})).Plane = class {
constructor(tl, br){
this.tl = tl, this.br = br;
}
};
var A2, o, o, o = A2.Origin, o = A2.Utils.mirror(o);
new A2.Utils.Plane(o, {
}(A || (A = {})), (function(A2) {
A2.Origin = {
x: 0,
y: 0
}, (A2.Utils || (A2.Utils = {})).Plane = class {
constructor(tl, br){
this.tl = tl, this.br = br;
}
};
})(A || (A = {}));
var A, o, o, o = A.Origin, o = A.Utils.mirror(o);
new A.Utils.Plane(o, {
x: 1,
y: 1
});

View File

@ -1,10 +1,11 @@
var A;
((A = A1 || (A1 = {})).Utils || (A.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
!function(A1) {
(A1.Utils || (A1.Utils = {})).mirror = function(p) {
return {
x: p.y,
y: p.x
};
};
}, (function(A2) {
}(A || (A = {})), (function(A2) {
var Utils, Plane;
A2.Origin = {
x: 0,
@ -15,9 +16,9 @@ var A;
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
})(this, Plane), this.tl = tl, this.br = br;
}, Utils.Plane = Plane;
})(A1 || (A1 = {}));
var A1, o, o, o = A1.Origin, o = A1.Utils.mirror(o);
new A1.Utils.Plane(o, {
})(A || (A = {}));
var A, o, o, o = A.Origin, o = A.Utils.mirror(o);
new A.Utils.Plane(o, {
x: 1,
y: 1
});

View File

@ -1,2 +1,4 @@
var Color, Color;
(Color = Color || (Color = {}))[Color.R = 0] = "R", Color[Color.G = 1] = "G", Color[Color.B = 2] = "B";
var Color;
!function(Color) {
Color[Color.R = 0] = "R", Color[Color.G = 1] = "G", Color[Color.B = 2] = "B";
}(Color || (Color = {}));

View File

@ -1,2 +1,4 @@
var Color, Color;
(Color = Color || (Color = {}))[Color.R = 0] = "R", Color[Color.G = 1] = "G", Color[Color.B = 2] = "B";
var Color;
!function(Color) {
Color[Color.R = 0] = "R", Color[Color.G = 1] = "G", Color[Color.B = 2] = "B";
}(Color || (Color = {}));

View File

@ -1,5 +1,7 @@
var E, E, M;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", (function(M1) {
var E, M;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), (function(M1) {
var a;
M1.a = a;
})(M || (M = {})), new class {

View File

@ -1,4 +1,4 @@
var E, M, E, C = function() {
var E, M, C = function() {
"use strict";
var Constructor;
function C() {
@ -18,7 +18,9 @@ var E, M, E, C = function() {
}
]), C;
}();
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", (function(M1) {
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), (function(M1) {
var a;
M1.a = a;
})(M || (M = {})), new C(), E.a;

View File

@ -1,8 +1,10 @@
var E, E, M;
var E, M;
class C {
static foo() {}
}
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", (function(M1) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
})(E || (E = {})), (function(M1) {
var a;
M1.a = a;
})(M || (M = {})), {} + {}, E.a + new C(), E.a + C.foo(), E.a;

View File

@ -1,4 +1,4 @@
var E, M, E, C = function() {
var E, M, C = function() {
"use strict";
var Constructor;
function C() {
@ -18,7 +18,9 @@ var E, M, E, C = function() {
}
]), C;
}();
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", (function(M1) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
})(E || (E = {})), (function(M1) {
var a;
M1.a = a;
})(M || (M = {})), {} + {}, E.a + new C(), E.a + C.foo(), E.a;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a, E.a, E.a, E.a;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a, E.a, E.a, E.a;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a, E.a, E.a, E.a;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a, E.a, E.a, E.a;

View File

@ -1,2 +1,6 @@
var E, F, E, F;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", (F = F || (F = {}))[F.c = 0] = "c", F[F.d = 1] = "d", E.a, E.a + E.b, E.a + E.b, E.a + F.c;
var E, F;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), (function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
})(F || (F = {})), E.a, E.a + E.b, E.a + E.b, E.a + F.c;

View File

@ -1,2 +1,6 @@
var E, F, E, F;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", (F = F || (F = {}))[F.c = 0] = "c", F[F.d = 1] = "d", E.a, E.a + E.b, E.a + E.b, E.a + F.c;
var E, F;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), (function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
})(F || (F = {})), E.a, E.a + E.b, E.a + E.b, E.a + F.c;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b";
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {}));

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b";
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {}));

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a, E.a, E.a, E.a;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a, E.a, E.a, E.a;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a, E.a, E.a, E.a;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a, E.a, E.a, E.a;

View File

@ -1,4 +1,6 @@
var E1, E1;
(E1 = E1 || (E1 = {}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C";
export var E1;
!function(E1) {
E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C";
}(E1 || (E1 = {}));
const foo = require("./foo_0");
foo.E1.A;

View File

@ -1,2 +1,4 @@
var E1, E1;
(E1 = E1 || (E1 = {}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", require("./foo_0").E1.A;
var E1;
!function(E1) {
E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C";
}(E1 || (E1 = {})), require("./foo_0").E1.A;

View File

@ -1,7 +1,9 @@
var E1, E1;
var E1;
export class C1 {
constructor(){
this.m1 = 42;
}
}
C1.s1 = !0, (E1 = E1 || (E1 = {}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", require("./foo_0");
C1.s1 = !0, (function(E1) {
E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C";
})(E1 || (E1 = {})), require("./foo_0");

View File

@ -1,7 +1,9 @@
export var E1, E1, i, z, C1 = function() {
export var E1, i, z, C1 = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C1), this.m1 = 42;
};
C1.s1 = !0, E1 = E1 || (E1 = {}), E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", require("./foo_0");
C1.s1 = !0, (function(E1) {
E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C";
})(E1 || (E1 = {})), require("./foo_0");

View File

@ -1,6 +1,8 @@
var a, E, E;
var a, E;
function f() {}
foo2(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), (E = E || (E = {}))[E.A = 0] = "A", foo3(a), (f || (f = {})).bar = 1, foo3(a);
foo2(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), foo3(a), (function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), foo3(a), (f || (f = {})).bar = 1, foo3(a);
class CC {
}
(CC || (CC = {})).bar = 1, foo3(a), foo3(a), foo3(a);

View File

@ -12,8 +12,10 @@ var A2 = function() {
_classCallCheck(this, A2);
};
function f() {}
foo3(a), foo3(a), foo3(a), (E = E || (E = {}))[E.A = 0] = "A", foo3(a), (f || (f = {})).bar = 1, foo3(a);
var a, E, E, CC = function() {
foo3(a), foo3(a), foo3(a), (function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), foo3(a), (f || (f = {})).bar = 1, foo3(a);
var a, E, CC = function() {
"use strict";
_classCallCheck(this, CC);
};

View File

@ -1,6 +1,8 @@
var E, E;
var E;
function f() {}
(E = E || (E = {}))[E.A = 0] = "A", (f || (f = {})).bar = 1;
!function(E) {
E[E.A = 0] = "A";
}(E || (E = {})), (f || (f = {})).bar = 1;
class c {
}
(c || (c = {})).bar = 1;

View File

@ -1,7 +1,7 @@
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}
var E, E, A = function() {
var E, A = function() {
"use strict";
_classCallCheck(this, A);
}, A2 = function() {
@ -9,7 +9,9 @@ var E, E, A = function() {
_classCallCheck(this, A2);
};
function f() {}
(E = E || (E = {}))[E.A = 0] = "A", (f || (f = {})).bar = 1;
!function(E) {
E[E.A = 0] = "A";
}(E || (E = {})), (f || (f = {})).bar = 1;
var c = function() {
"use strict";
_classCallCheck(this, c);

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.A = 0] = "A";
var E;
!function(E) {
E[E.A = 0] = "A";
}(E || (E = {}));

View File

@ -1,7 +1,9 @@
var E, E, C = function() {
var E, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
(E = E || (E = {}))[E.A = 0] = "A";
!function(E) {
E[E.A = 0] = "A";
}(E || (E = {}));

View File

@ -58,7 +58,7 @@ foo({
e: 3
}
});
var arr, array = [
var array = [
"string",
1,
!0
@ -76,12 +76,14 @@ baz([
1,
!0
].concat(function(arr) {
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
}(arr = array) || function(iter) {
if ("undefined" != typeof Symbol && null != iter[Symbol.iterator] || null != iter["@@iterator"]) return Array.from(iter);
}(arr) || _unsupportedIterableToArray(arr) || function() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}())), foo({
return (function(arr) {
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
})(arr) || (function(iter) {
if ("undefined" != typeof Symbol && null != iter[Symbol.iterator] || null != iter["@@iterator"]) return Array.from(iter);
})(arr) || _unsupportedIterableToArray(arr) || (function() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
})();
}(array))), foo({
x: [
"string",
1

View File

@ -1,2 +1,6 @@
var E, F, E, F;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", (F = F || (F = {}))[F.c = 0] = "c", F[F.d = 1] = "d", E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;
var E, F;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), (function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
})(F || (F = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;

View File

@ -1,2 +1,6 @@
var E, F, E, F;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", (F = F || (F = {}))[F.c = 0] = "c", F[F.d = 1] = "d", E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;
var E, F;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), (function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
})(F || (F = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c", E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b, E.a, E.a, E.a, E.a, E.a, E.a, E.b, E.b, E.b, E.b, E.b, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b, E.a, E.b;

View File

@ -1,35 +1,37 @@
var a, arr, i;
var a;
function _arrayLikeToArray(arr, len) {
(null == len || len > arr.length) && (len = arr.length);
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
return arr2;
}
(i = 1, (function(arr) {
if (Array.isArray(arr)) return arr;
})(arr = a) || (function(arr, i) {
var _s, _e, _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
if (null != _i) {
var _arr = [], _n = !0, _d = !1;
try {
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !i || _arr.length !== i); _n = !0);
} catch (err) {
_d = !0, _e = err;
} finally{
(function(arr, i) {
return (function(arr) {
if (Array.isArray(arr)) return arr;
})(arr) || (function(arr, i) {
var _s, _e, _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
if (null != _i) {
var _arr = [], _n = !0, _d = !1;
try {
_n || null == _i.return || _i.return();
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !i || _arr.length !== i); _n = !0);
} catch (err) {
_d = !0, _e = err;
} finally{
if (_d) throw _e;
try {
_n || null == _i.return || _i.return();
} finally{
if (_d) throw _e;
}
}
return _arr;
}
return _arr;
}
})(arr, i) || (function(o, minLen) {
if (o) {
if ("string" == typeof o) return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if ("Object" === n && o.constructor && (n = o.constructor.name), "Map" === n || "Set" === n) return Array.from(n);
if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
})(arr, i) || (function() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
})())[0];
})(arr, i) || (function(o, minLen) {
if (o) {
if ("string" == typeof o) return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if ("Object" === n && o.constructor && (n = o.constructor.name), "Map" === n || "Set" === n) return Array.from(n);
if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
})(arr, i) || (function() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
})();
})(a, 1)[0];

View File

@ -1,5 +1,9 @@
var AppType, AppStyle, AppType, AppStyle;
(AppType = AppType || (AppType = {})).HeaderDetail = "HeaderDetail", AppType.HeaderMultiDetail = "HeaderMultiDetail", AppType.AdvancedList = "AdvancedList", AppType.Standard = "Standard", AppType.Relationship = "Relationship", AppType.Report = "Report", AppType.Composite = "Composite", AppType.ListOnly = "ListOnly", AppType.ModuleSettings = "ModuleSettings", (AppStyle = AppStyle || (AppStyle = {}))[AppStyle.Tree = 0] = "Tree", AppStyle[AppStyle.TreeEntity = 1] = "TreeEntity", AppStyle[AppStyle.Standard = 2] = "Standard", AppStyle[AppStyle.MiniApp = 3] = "MiniApp", AppStyle[AppStyle.PivotTable = 4] = "PivotTable", new Map([
var AppType, AppStyle;
!function(AppType) {
AppType.HeaderDetail = "HeaderDetail", AppType.HeaderMultiDetail = "HeaderMultiDetail", AppType.AdvancedList = "AdvancedList", AppType.Standard = "Standard", AppType.Relationship = "Relationship", AppType.Report = "Report", AppType.Composite = "Composite", AppType.ListOnly = "ListOnly", AppType.ModuleSettings = "ModuleSettings";
}(AppType || (AppType = {})), (function(AppStyle) {
AppStyle[AppStyle.Tree = 0] = "Tree", AppStyle[AppStyle.TreeEntity = 1] = "TreeEntity", AppStyle[AppStyle.Standard = 2] = "Standard", AppStyle[AppStyle.MiniApp = 3] = "MiniApp", AppStyle[AppStyle.PivotTable = 4] = "PivotTable";
})(AppStyle || (AppStyle = {})), new Map([
[
AppType.Standard,
[

View File

@ -1,5 +1,9 @@
var AppType, AppStyle, AppType, AppStyle;
(AppType = AppType || (AppType = {})).HeaderDetail = "HeaderDetail", AppType.HeaderMultiDetail = "HeaderMultiDetail", AppType.AdvancedList = "AdvancedList", AppType.Standard = "Standard", AppType.Relationship = "Relationship", AppType.Report = "Report", AppType.Composite = "Composite", AppType.ListOnly = "ListOnly", AppType.ModuleSettings = "ModuleSettings", (AppStyle = AppStyle || (AppStyle = {}))[AppStyle.Tree = 0] = "Tree", AppStyle[AppStyle.TreeEntity = 1] = "TreeEntity", AppStyle[AppStyle.Standard = 2] = "Standard", AppStyle[AppStyle.MiniApp = 3] = "MiniApp", AppStyle[AppStyle.PivotTable = 4] = "PivotTable", new Map([
var AppType, AppStyle;
!function(AppType) {
AppType.HeaderDetail = "HeaderDetail", AppType.HeaderMultiDetail = "HeaderMultiDetail", AppType.AdvancedList = "AdvancedList", AppType.Standard = "Standard", AppType.Relationship = "Relationship", AppType.Report = "Report", AppType.Composite = "Composite", AppType.ListOnly = "ListOnly", AppType.ModuleSettings = "ModuleSettings";
}(AppType || (AppType = {})), (function(AppStyle) {
AppStyle[AppStyle.Tree = 0] = "Tree", AppStyle[AppStyle.TreeEntity = 1] = "TreeEntity", AppStyle[AppStyle.Standard = 2] = "Standard", AppStyle[AppStyle.MiniApp = 3] = "MiniApp", AppStyle[AppStyle.PivotTable = 4] = "PivotTable";
})(AppStyle || (AppStyle = {})), new Map([
[
AppType.Standard,
[

View File

@ -24,6 +24,10 @@ var MyClass = function() {
}
], _defineProperties((Constructor = MyClass).prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), MyClass;
}();
(function() {
(m = 3, function() {
return function(n) {
return 3 + n;
};
})()(4), (function() {
return 0;
})().toExponential();

View File

@ -1,2 +1,4 @@
var a, a1;
((a1 = a || (a = {})).b || (a1.b = {})).c = 20;
var a;
!function(a1) {
(a1.b || (a1.b = {})).c = 20;
}(a || (a = {}));

View File

@ -1,2 +1,4 @@
var a, a1;
((a1 = a || (a = {})).b || (a1.b = {})).c = 20;
var a;
!function(a1) {
(a1.b || (a1.b = {})).c = 20;
}(a || (a = {}));

View File

@ -1,2 +1,4 @@
var x, E, M, E;
(E = E || (E = {}))[E.A = 0] = "A", E.A, (M || (M = {})).foo = 1, M = x;
var x, E, M;
!function(E) {
E[E.A = 0] = "A";
}(E || (E = {})), E.A, (M || (M = {})).foo = 1, M = x;

View File

@ -1,5 +1,7 @@
var x, E, M, E;
(E = E || (E = {}))[E.A = 0] = "A", E.A;
var x, E, M;
!function(E) {
E[E.A = 0] = "A";
}(E || (E = {})), E.A;
var C = function() {
"use strict";
!function(instance, Constructor) {

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.A = 0] = "A";
var E;
(function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), E.A, E.A;

View File

@ -1,5 +1,8 @@
(E = E || (E = {}))[E.A = 0] = "A";
var E, E, C = function() {
var E;
(function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), E.A, E.A;
var C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");

View File

@ -1,4 +1,4 @@
var x, M, M2, E, E;
var x, M, M2, E;
function fn() {}
x = 3 = "", (function(M1) {
var y;
@ -23,7 +23,9 @@ x = 3 = "", (function(M1) {
}, M2.M3 = {
x: ""
}, fn = ()=>3
, (E = E || (E = {}))[E.A = 0] = "A", E = void 0 = void 0;
, (function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), E = void 0 = void 0;
class C {
}
C = void 0;

View File

@ -23,8 +23,10 @@ x = 3 = "", (function(M1) {
x: ""
}, fn = function() {
return 3;
}, (E = E || (E = {}))[E.A = 0] = "A", E = void 0 = void 0;
var E, x, M, M2, E, C = function() {
}, (function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), E = void 0 = void 0;
var x, M, M2, E, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");

View File

@ -1,2 +1,4 @@
var E, E;
M = null, (E = E || (E = {}))[E.A = 0] = "A", (E = null).A = null, I = null;
var E;
M = null, (function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), (E = null).A = null, I = null;

View File

@ -1,8 +1,10 @@
M = null;
var E, E, C = function() {
var E, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
C = null, (E = E || (E = {}))[E.A = 0] = "A", (E = null).A = null, I = null;
C = null, (function(E) {
E[E.A = 0] = "A";
})(E || (E = {})), (E = null).A = null, I = null;

View File

@ -1,7 +1,8 @@
var obj, key, value;
obj = {}, key = _await, value = foo, key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value;
!function(obj, key, value) {
return key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value, obj;
}({}, _await, foo);

View File

@ -1,7 +1,8 @@
var obj, key, value;
obj = {}, key = _await, value = foo, key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value;
!function(obj, key, value) {
return key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value, obj;
}({}, _await, foo);

View File

@ -1,7 +1,8 @@
var obj, key, value;
obj = {}, key = _await, value = foo, key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value;
!function(obj, key, value) {
return key in obj ? Object.defineProperty(obj, key, {
value: value,
enumerable: !0,
configurable: !0,
writable: !0
}) : obj[key] = value, obj;
}({}, _await, foo);

View File

@ -1,5 +1,9 @@
var E1, E2, E1, E2, t1, t2, t3, t4;
(E1 = E1 || (E1 = {}))[E1.one = 0] = "one", (E2 = E2 || (E2 = {}))[E2.two = 0] = "two", t1 = [
var E1, E2, t1, t2, t3, t4;
!function(E1) {
E1[E1.one = 0] = "one";
}(E1 || (E1 = {})), (function(E2) {
E2[E2.two = 0] = "two";
})(E2 || (E2 = {})), t1 = [
function(x) {
return "foo";
},

View File

@ -1,5 +1,9 @@
var E1, E2, E1, E2, t1, t2, t3, t4;
(E1 = E1 || (E1 = {}))[E1.one = 0] = "one", (E2 = E2 || (E2 = {}))[E2.two = 0] = "two", t1 = [
var E1, E2, t1, t2, t3, t4;
!function(E1) {
E1[E1.one = 0] = "one";
}(E1 || (E1 = {})), (function(E2) {
E2[E2.two = 0] = "two";
})(E2 || (E2 = {})), t1 = [
function(x) {
return "foo";
},

View File

@ -1,2 +1,4 @@
var ENUM1, ENUM1;
(ENUM1 = ENUM1 || (ENUM1 = {}))[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "", ENUM1.A, ENUM1.A + ENUM1.B, ENUM1.A + ENUM1.B, ENUM1.A, ENUM1.A, ENUM1.B;
var ENUM1;
!function(ENUM1) {
ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "";
}(ENUM1 || (ENUM1 = {})), ENUM1.A, ENUM1.A + ENUM1.B, ENUM1.A + ENUM1.B, ENUM1.A, ENUM1.A, ENUM1.B;

View File

@ -1,2 +1,4 @@
var ENUM1, ENUM1;
(ENUM1 = ENUM1 || (ENUM1 = {}))[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "", ENUM1.A, ENUM1.A + ENUM1.B, ENUM1.A + ENUM1.B, ENUM1.A, ENUM1.A, ENUM1.B;
var ENUM1;
!function(ENUM1) {
ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "";
}(ENUM1 || (ENUM1 = {})), ENUM1.A, ENUM1.A + ENUM1.B, ENUM1.A + ENUM1.B, ENUM1.A, ENUM1.A, ENUM1.B;

View File

@ -1,4 +1,4 @@
var M, e1, M1, e1;
var M, e1;
function foo3() {
return foo3();
}
@ -9,9 +9,13 @@ foo3(), (function(x) {
try {} catch (e) {
return [];
} finally{}
})(1), (M1 = M || (M = {})).x = 1, M1.C = class {
}, (m1 || (m1 = {})).y = 2;
})(1), (function(M1) {
M1.x = 1, M1.C = class {
};
})(M || (M = {})), (m1 || (m1 = {})).y = 2;
class c1 {
constructor(x){}
}
(c1 || (c1 = {})).x = 1, (e1 = e1 || (e1 = {}))[e1.A = 0] = "A", (e1 || (e1 = {})).y = 1;
(c1 || (c1 = {})).x = 1, (function(e1) {
e1[e1.A = 0] = "A";
})(e1 || (e1 = {})), (e1 || (e1 = {})).y = 1;

View File

@ -12,7 +12,7 @@ foo3(), (function(x) {
var obj;
void 0 === x || (obj = x) && "undefined" != typeof Symbol && obj.constructor === Symbol;
})(1);
var e1, C = function() {
var C = function() {
"use strict";
_classCallCheck(this, C);
};
@ -31,4 +31,6 @@ var M, e1, c1 = function(x) {
"use strict";
_classCallCheck(this, c1);
};
(c1 || (c1 = {})).x = 1, (e1 = e1 || (e1 = {}))[e1.A = 0] = "A", (e1 || (e1 = {})).y = 1;
(c1 || (c1 = {})).x = 1, (function(e1) {
e1[e1.A = 0] = "A";
})(e1 || (e1 = {})), (e1 || (e1 = {})).y = 1;

View File

@ -2,9 +2,13 @@ class C {
}
class D {
}
(E1 = E1 || (E1 = {}))[E1.one = 0] = "one", (E2 = E2 || (E2 = {}))[E2.one = 0] = "one";
var E1, E2, E1, E2, classCDATuple = [
!function(E1) {
E1[E1.one = 0] = "one";
}(E1 || (E1 = {})), (function(E2) {
E2[E2.one = 0] = "one";
})(E2 || (E2 = {}));
var E1, E2, classCDATuple = [
new C(),
new D()
];
classCDATuple[2], classCDATuple[5], new C(), new C(), new D(), t4[2] = 10;
classCDATuple[2], classCDATuple[5], E1.one, E2.one, new C(), new C(), new D(), t4[2] = 10;

View File

@ -44,7 +44,7 @@ function _createSuper(Derived) {
})(self);
};
}
var E1, E2, E1, A = function() {
var A = function() {
"use strict";
_classCallCheck(this, A), this.a = 10;
}, C = function() {
@ -70,8 +70,12 @@ var E1, E2, E1, A = function() {
}
return F;
}(A);
(E1 = E1 || (E1 = {}))[E1.one = 0] = "one", (E2 = E2 || (E2 = {}))[E2.one = 0] = "one";
var E2, classCDATuple = [
!function(E1) {
E1[E1.one = 0] = "one";
}(E1 || (E1 = {})), (function(E2) {
E2[E2.one = 0] = "one";
})(E2 || (E2 = {}));
var E1, E2, classCDATuple = [
new C(),
new D()
];

View File

@ -1,9 +1,11 @@
var B, A, A1;
var B, A;
!function(B1) {
var a = A;
B1.a = a;
class D extends a.C {
}
B1.D = D;
}(B || (B = {})), (A1 = A || (A = {})).C = class {
}, A1.b = B, new B.a.C();
}(B || (B = {})), (function(A1) {
A1.C = class {
}, A1.b = B;
})(A || (A = {})), new B.a.C();

View File

@ -1,7 +1,9 @@
var E1, E1;
var E1;
export class C1 {
constructor(){
this.m1 = 42;
}
}
C1.s1 = !0, (E1 = E1 || (E1 = {}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", require("./foo_0");
C1.s1 = !0, (function(E1) {
E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C";
})(E1 || (E1 = {})), require("./foo_0");

View File

@ -1,7 +1,9 @@
export var E1, E1, i, z, C1 = function() {
export var E1, i, z, C1 = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C1), this.m1 = 42;
};
C1.s1 = !0, E1 = E1 || (E1 = {}), E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", require("./foo_0");
C1.s1 = !0, (function(E1) {
E1[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C";
})(E1 || (E1 = {})), require("./foo_0");

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {}));

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {}));

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {}));

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {}));

View File

@ -1,2 +1,4 @@
var E, E;
(E = E || (E = {}))[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {}));

Some files were not shown because too many files have changed in this diff Show More