fix(es/typescript): Run resolver before typescript::strip (#2951)

swc_ecma_transforms_base:
 - `resolver`: Handle some typescript nodes.

swc_ecma_transforms_typescript:
 - `strip`: Use identifier span hygiene information for stripping types.
This commit is contained in:
David Sherret 2021-12-03 21:35:16 -05:00 committed by GitHub
parent ad35d954e1
commit 67280b6fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
770 changed files with 3661 additions and 3269 deletions

View File

@ -10,10 +10,10 @@ use std::{
sync::Arc,
};
use swc::config::{Config, IsModule, JscConfig, Options, SourceMapsConfig};
use swc_common::{errors::Handler, FileName, FilePathMapping, SourceFile, SourceMap};
use swc_common::{errors::Handler, FileName, FilePathMapping, Mark, SourceFile, SourceMap};
use swc_ecma_ast::{EsVersion, Program};
use swc_ecma_parser::{Syntax, TsConfig};
use swc_ecma_transforms::{fixer, hygiene, resolver, typescript};
use swc_ecma_transforms::{fixer, hygiene, resolver, resolver_with_mark, typescript};
use swc_ecma_visit::FoldWith;
use test::Bencher;
@ -50,8 +50,10 @@ fn parse(c: &swc::Compiler) -> (Arc<SourceFile>, Program) {
fn as_es(c: &swc::Compiler) -> Program {
let program = parse(c).1;
program.fold_with(&mut typescript::strip())
let mark = Mark::fresh(Mark::root());
program
.fold_with(&mut resolver_with_mark(mark))
.fold_with(&mut typescript::strip(mark))
}
#[bench]

View File

@ -365,6 +365,11 @@ impl Options {
syntax.decorators()
),
import_assertions(),
// Do a resolver pass after decorators as it might
// emit runtime declarations and do it before
// type stripping as we need to know scope information
// for emitting enums and namespaces.
resolver_with_mark(top_level_mark),
Optional::new(
typescript::strip_with_jsx(
cm.clone(),
@ -378,7 +383,6 @@ impl Options {
),
syntax.typescript()
),
resolver_with_mark(top_level_mark),
crate::plugin::plugins(experimental.plugins),
custom_before_pass(&program),
// handle jsx

View File

@ -34,9 +34,9 @@ function _initializerDefineProperty(target, property, descriptor, context) {
}
var _class, _descriptor, _dec, _dec1;
var MyEnum;
(function(MyEnum1) {
MyEnum1["x"] = "xxx";
MyEnum1["y"] = "yyy";
(function(MyEnum) {
MyEnum["x"] = "xxx";
MyEnum["y"] = "yyy";
})(MyEnum || (MyEnum = {
}));
let Xpto = ((_class = class Xpto {

View File

@ -11,7 +11,7 @@ class ServiceError extends Error {
}
exports.ServiceError = ServiceError;
(function(ServiceError1) {
var Code1;
let Code;
(function(Code) {
Code[Code["serviceNotFound"] = 404] = "serviceNotFound";
Code[Code["serviceNotCompatible"] = 426] = "serviceNotCompatible";
@ -20,13 +20,13 @@ exports.ServiceError = ServiceError;
Code[Code["timedOut"] = 504] = "timedOut";
Code[Code["badRequest"] = 400] = "badRequest";
Code[Code["badResponse"] = 422] = "badResponse";
})(Code1 || (Code1 = {
})(Code || (Code = {
}));
class ServiceNotFound extends ServiceError {
constructor(...args){
super(...args);
// Service was probably not registered, or using the wrong channel
this.code = Code1.serviceNotFound;
this.code = Code.serviceNotFound;
this.name = "ServiceError.ServiceNotFound";
}
}
@ -37,6 +37,6 @@ exports.ServiceError = ServiceError;
};
}
ServiceError1.toMessageBody = toMessageBody;
ServiceError1.Code = Code1;
ServiceError1.Code = Code;
})(ServiceError || (ServiceError = {
}));

View File

@ -1,4 +1,4 @@
import React1 from "react";
import React from "react";
export var Test;
(function(Test1) {
Test1.content = /*#__PURE__*/ React.createElement("div", null, "Content");

View File

@ -16,16 +16,16 @@ var N;
}));
var O;
(function(O) {
class C2 extends Q1.E2 {
class C2 extends Q.E2 {
} // error
var P1;
let P1;
(function(P) {
class D2 extends C2 {
}
P.D2 = D2;
})(P1 || (P1 = {
}));
var Q1;
let Q1;
(function(Q) {
class E2 extends P1.D2 {
}

View File

@ -9,16 +9,18 @@ class C extends N.E {
N1.E = E;
})(N || (N = {
})), (function(O) {
var P, Q1;
class C2 extends Q1.E2 {
class C2 extends Q.E2 {
}
let P;
(P || (P = {
})).D2 = class extends C2 {
}, (function(Q) {
};
let Q1;
!function(Q) {
class E2 extends P.D2 {
}
Q.E2 = E2;
})(Q1 || (Q1 = {
}(Q1 || (Q1 = {
}));
})(O || (O = {
}));

View File

@ -122,7 +122,7 @@ var O;
}
return C2;
} // error
(Q1.E2);
(Q.E2);
var P1;
(function(P) {
var D2 = /*#__PURE__*/ function(C2) {

View File

@ -87,7 +87,7 @@ var M, N, O, C = function(_E) {
return _classCallCheck(this, C2), _super.apply(this, arguments);
}
return C2;
}(Q1.E2);
}(Q.E2);
(function(P) {
var D2 = function(C2) {
"use strict";

View File

@ -6,7 +6,7 @@ var x = 1;
class C {
constructor(x1){
this.b // error, evaluated in scope of constructor, cannot reference x
= x1;
= x;
x1 = 2; // error, x is string
}
}
@ -14,7 +14,7 @@ var y = 1;
class D {
constructor(x){
this.b // error, evaluated in scope of constructor, cannot reference y
= y1;
= y;
var y1 = "";
}
}

View File

@ -12,7 +12,7 @@ var C = function C(x1) {
"use strict";
_classCallCheck(this, C);
this.b // error, evaluated in scope of constructor, cannot reference x
= x1;
= x;
x1 = 2; // error, x is string
};
var y = 1;
@ -20,6 +20,6 @@ var D = function D(x) {
"use strict";
_classCallCheck(this, D);
this.b // error, evaluated in scope of constructor, cannot reference y
= y1;
= y;
var y1 = "";
};

View File

@ -3,9 +3,8 @@ function _classCallCheck(instance, Constructor) {
}
var C = function(x) {
"use strict";
_classCallCheck(this, C), this.b = x, x = 2;
_classCallCheck(this, C), this.b = 1;
}, D = function(x) {
"use strict";
_classCallCheck(this, D), this.b = y;
var y = "";
_classCallCheck(this, D), this.b = 1;
};

View File

@ -13,19 +13,19 @@ var x = 1;
class C {
constructor(x1){
this.b // ok
= x1;
= x;
}
}
var y = 1;
class D {
constructor(x){
this.b // ok
= y1;
= y;
var y1 = "";
}
}
class E {
constructor(z){
constructor(z1){
this.b // not ok
= z;
}

View File

@ -19,17 +19,17 @@ var C = function C(x1) {
"use strict";
_classCallCheck(this, C);
this.b // ok
= x1;
= x;
};
var y = 1;
var D = function D(x) {
"use strict";
_classCallCheck(this, D);
this.b // ok
= y1;
= y;
var y1 = "";
};
var E = function E(z) {
var E = function E(z1) {
"use strict";
_classCallCheck(this, E);
this.b // not ok

View File

@ -3,12 +3,11 @@ function _classCallCheck(instance, Constructor) {
}
var C = function(x) {
"use strict";
_classCallCheck(this, C), this.b = x;
_classCallCheck(this, C), this.b = 1;
}, D = function(x) {
"use strict";
_classCallCheck(this, D), this.b = y;
var y = "";
}, E = function(z) {
_classCallCheck(this, D), this.b = 1;
}, E = function(z1) {
"use strict";
_classCallCheck(this, E), this.b = z;
};

View File

@ -1,13 +1,13 @@
// Initializer expressions for instance member variables are evaluated in the scope of the class constructor body but are not permitted to reference parameters or local variables of the constructor.
class C {
constructor(x){
constructor(x1){
this.a // error
= x;
}
}
class D {
constructor(x){
this.x = x;
constructor(x2){
this.x = x2;
this.a // error
= x;
}
@ -20,8 +20,8 @@ class E {
}
}
class F {
constructor(x){
this.x = x;
constructor(x3){
this.x = x3;
this.a // ok
= this.x;
this.b // error

View File

@ -3,17 +3,17 @@ function _classCallCheck(instance, Constructor) {
throw new TypeError("Cannot call a class as a function");
}
}
var C = function C(x) {
var C = function C(x1) {
"use strict";
_classCallCheck(this, C);
// Initializer expressions for instance member variables are evaluated in the scope of the class constructor body but are not permitted to reference parameters or local variables of the constructor.
this.a // error
= x;
};
var D = function D(x) {
var D = function D(x2) {
"use strict";
_classCallCheck(this, D);
this.x = x;
this.x = x2;
this.a // error
= x;
};
@ -24,10 +24,10 @@ var E = function E(x) {
this.a // ok
= this.x;
};
var F = function F(x) {
var F = function F(x3) {
"use strict";
_classCallCheck(this, F);
this.x = x;
this.x = x3;
this.a // ok
= this.x;
this.b // error

View File

@ -1,16 +1,16 @@
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}
var C = function(x) {
var C = function(x1) {
"use strict";
_classCallCheck(this, C), this.a = x;
}, D = function(x) {
}, D = function(x2) {
"use strict";
_classCallCheck(this, D), this.x = x, this.a = x;
_classCallCheck(this, D), this.x = x2, this.a = x;
}, E = function(x) {
"use strict";
_classCallCheck(this, E), this.x = x, this.a = this.x;
}, F = function(x) {
}, F = function(x3) {
"use strict";
_classCallCheck(this, F), this.x = x, this.a = this.x, this.b = x;
_classCallCheck(this, F), this.x = x3, this.a = this.x, this.b = x;
};

View File

@ -1,12 +1,12 @@
var // @target: es5
E1;
(function(E11) {
E11[E11["x"] = 0] = "x";
(function(E1) {
E1[E1["x"] = 0] = "x";
})(E1 || (E1 = {
}));
var E2;
(function(E21) {
E21[E21["x"] = 0] = "x";
(function(E2) {
E2[E2["x"] = 0] = "x";
})(E2 || (E2 = {
}));
var o = {

View File

@ -1,4 +1,4 @@
var E1, E2, E11, E21;
(E1 = E11 || (E11 = {
}))[E1.x = 0] = "x", (E2 = E21 || (E21 = {
}))[E2.x = 0] = "x", E11.x || E21.x;
var E1, E2, E1, E2;
(E1 = E1 || (E1 = {
}))[E1.x = 0] = "x", (E2 = E2 || (E2 = {
}))[E2.x = 0] = "x", E1.x || E2.x;

View File

@ -13,13 +13,13 @@ function _defineProperty(obj, key, value) {
}
var // @target: es5
E1;
(function(E11) {
E11[E11["x"] = 0] = "x";
(function(E1) {
E1[E1["x"] = 0] = "x";
})(E1 || (E1 = {
}));
var E2;
(function(E21) {
E21[E21["x"] = 0] = "x";
(function(E2) {
E2[E2["x"] = 0] = "x";
})(E2 || (E2 = {
}));
var o = _defineProperty({

View File

@ -1,8 +1,8 @@
var E1, E2, obj, key, E11, E21;
(E1 = E11 || (E11 = {
}))[E1.x = 0] = "x", (E2 = E21 || (E21 = {
var E1, E2, obj, key, E1, E2;
(E1 = E1 || (E1 = {
}))[E1.x = 0] = "x", (E2 = E2 || (E2 = {
}))[E2.x = 0] = "x", obj = {
}, (key = E11.x || E21.x) in obj ? Object.defineProperty(obj, key, {
}, (key = E1.x || E2.x) in obj ? Object.defineProperty(obj, key, {
value: 0,
enumerable: !0,
configurable: !0,

View File

@ -1,12 +1,12 @@
var // @target: es6
E1;
(function(E11) {
E11[E11["x"] = 0] = "x";
(function(E1) {
E1[E1["x"] = 0] = "x";
})(E1 || (E1 = {
}));
var E2;
(function(E21) {
E21[E21["x"] = 0] = "x";
(function(E2) {
E2[E2["x"] = 0] = "x";
})(E2 || (E2 = {
}));
var o = {

View File

@ -1,4 +1,4 @@
var E1, E2, E11, E21;
(E1 = E11 || (E11 = {
}))[E1.x = 0] = "x", (E2 = E21 || (E21 = {
}))[E2.x = 0] = "x", E11.x || E21.x;
var E1, E2, E1, E2;
(E1 = E1 || (E1 = {
}))[E1.x = 0] = "x", (E2 = E2 || (E2 = {
}))[E2.x = 0] = "x", E1.x || E2.x;

View File

@ -13,13 +13,13 @@ function _defineProperty(obj, key, value) {
}
var // @target: es6
E1;
(function(E11) {
E11[E11["x"] = 0] = "x";
(function(E1) {
E1[E1["x"] = 0] = "x";
})(E1 || (E1 = {
}));
var E2;
(function(E21) {
E21[E21["x"] = 0] = "x";
(function(E2) {
E2[E2["x"] = 0] = "x";
})(E2 || (E2 = {
}));
var o = _defineProperty({

View File

@ -1,8 +1,8 @@
var E1, E2, obj, key, E11, E21;
(E1 = E11 || (E11 = {
}))[E1.x = 0] = "x", (E2 = E21 || (E21 = {
var E1, E2, obj, key, E1, E2;
(E1 = E1 || (E1 = {
}))[E1.x = 0] = "x", (E2 = E2 || (E2 = {
}))[E2.x = 0] = "x", obj = {
}, (key = E11.x || E21.x) in obj ? Object.defineProperty(obj, key, {
}, (key = E1.x || E2.x) in obj ? Object.defineProperty(obj, key, {
value: 0,
enumerable: !0,
configurable: !0,

View File

@ -1,6 +1,6 @@
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
var a;

View File

@ -1,6 +1,6 @@
var E, a, E1;
(E1 = E || (E = {
}))[E1.x = 0] = "x", extractIndexer({
var E, a, E;
(E = E || (E = {
}))[E.x = 0] = "x", extractIndexer({
[a]: ""
}), extractIndexer({
[E.x]: ""

View File

@ -12,8 +12,8 @@ function _defineProperty(obj, key, value) {
return obj;
}
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
var a;

View File

@ -1,4 +1,4 @@
var E, a, E1;
var E, a, E;
function _defineProperty(obj, key, value) {
return key in obj ? Object.defineProperty(obj, key, {
value: value,
@ -7,8 +7,8 @@ function _defineProperty(obj, key, value) {
writable: !0
}) : obj[key] = value, obj;
}
(E1 = E || (E = {
}))[E1.x = 0] = "x", extractIndexer(_defineProperty({
(E = E || (E = {
}))[E.x = 0] = "x", extractIndexer(_defineProperty({
}, a, "")), extractIndexer(_defineProperty({
}, E.x, "")), extractIndexer(_defineProperty({
}, 0, ""));

View File

@ -1,6 +1,6 @@
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
var a;

View File

@ -1,6 +1,6 @@
var E, a, E1;
(E1 = E || (E = {
}))[E1.x = 0] = "x", extractIndexer({
var E, a, E;
(E = E || (E = {
}))[E.x = 0] = "x", extractIndexer({
[a]: ""
}), extractIndexer({
[E.x]: ""

View File

@ -12,8 +12,8 @@ function _defineProperty(obj, key, value) {
return obj;
}
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
var a;

View File

@ -1,4 +1,4 @@
var E, a, E1;
var E, a, E;
function _defineProperty(obj, key, value) {
return key in obj ? Object.defineProperty(obj, key, {
value: value,
@ -7,8 +7,8 @@ function _defineProperty(obj, key, value) {
writable: !0
}) : obj[key] = value, obj;
}
(E1 = E || (E = {
}))[E1.x = 0] = "x", extractIndexer(_defineProperty({
(E = E || (E = {
}))[E.x = 0] = "x", extractIndexer(_defineProperty({
}, a, "")), extractIndexer(_defineProperty({
}, E.x, "")), extractIndexer(_defineProperty({
}, 0, ""));

View File

@ -1,7 +1,7 @@
var // @target: es5
E;
(function(E1) {
E1[E1["member"] = 0] = "member";
(function(E) {
E[E["member"] = 0] = "member";
})(E || (E = {
}));
var v = {

View File

@ -1,3 +1,3 @@
var E, E1;
(E1 = E || (E = {
}))[E1.member = 0] = "member", E.member;
var E, E;
(E = E || (E = {
}))[E.member = 0] = "member", E.member;

View File

@ -13,8 +13,8 @@ function _defineProperty(obj, key, value) {
}
var // @target: es5
E;
(function(E1) {
E1[E1["member"] = 0] = "member";
(function(E) {
E[E["member"] = 0] = "member";
})(E || (E = {
}));
var v = _defineProperty({

View File

@ -1,7 +1,7 @@
var E, obj, key, E1;
(E = E1 || (E1 = {
var E, obj, key, E;
(E = E || (E = {
}))[E.member = 0] = "member", obj = {
}, (key = E1.member) in obj ? Object.defineProperty(obj, key, {
}, (key = E.member) in obj ? Object.defineProperty(obj, key, {
value: 0,
enumerable: !0,
configurable: !0,

View File

@ -1,7 +1,7 @@
var // @target: es6
E;
(function(E1) {
E1[E1["member"] = 0] = "member";
(function(E) {
E[E["member"] = 0] = "member";
})(E || (E = {
}));
var v = {

View File

@ -1,3 +1,3 @@
var E, E1;
(E1 = E || (E = {
}))[E1.member = 0] = "member", E.member;
var E, E;
(E = E || (E = {
}))[E.member = 0] = "member", E.member;

View File

@ -13,8 +13,8 @@ function _defineProperty(obj, key, value) {
}
var // @target: es6
E;
(function(E1) {
E1[E1["member"] = 0] = "member";
(function(E) {
E[E["member"] = 0] = "member";
})(E || (E = {
}));
var v = _defineProperty({

View File

@ -1,7 +1,7 @@
var E, obj, key, E1;
(E = E1 || (E1 = {
var E, obj, key, E;
(E = E || (E = {
}))[E.member = 0] = "member", obj = {
}, (key = E1.member) in obj ? Object.defineProperty(obj, key, {
}, (key = E.member) in obj ? Object.defineProperty(obj, key, {
value: 0,
enumerable: !0,
configurable: !0,

View File

@ -1,8 +1,8 @@
var // @target: es5,esnext
K;
(function(K1) {
K1["a"] = "a";
K1["b"] = "b";
(function(K) {
K["a"] = "a";
K["b"] = "b";
})(K || (K = {
}));
const { [K.a]: aVal , [K.b]: bVal } = (()=>{

View File

@ -1,6 +1,6 @@
var K, K1;
(K1 = K || (K = {
})).a = "a", K1.b = "b";
var K, K;
(K = K || (K = {
})).a = "a", K.b = "b";
const { [K.a]: aVal , [K.b]: bVal } = {
[K.a]: 1,
[K.b]: 1

View File

@ -13,9 +13,9 @@ function _defineProperty(obj, key, value) {
}
var // @target: es5,esnext
K;
(function(K1) {
K1["a"] = "a";
K1["b"] = "b";
(function(K) {
K["a"] = "a";
K["b"] = "b";
})(K || (K = {
}));
var _obj;

View File

@ -6,8 +6,8 @@ function _defineProperty(obj, key, value) {
writable: !0
}) : obj[key] = value, obj;
}
(K = K1 || (K1 = {
(K = K || (K = {
})).a = "a", K.b = "b";
var K, K1, _obj, ref = (_defineProperty(_obj = {
}, K1.a, 1), _defineProperty(_obj, K1.b, 1), _obj), aVal = ref[K1.a], bVal = ref[K1.b];
var K, K, _obj, ref = (_defineProperty(_obj = {
}, K.a, 1), _defineProperty(_obj, K.b, 1), _obj), aVal = ref[K.a], bVal = ref[K.b];
console.log(aVal, bVal);

View File

@ -102,8 +102,8 @@ b7([
]); // Shouldn't be an error
var // If the declaration specifies a binding pattern, the parameter type is the implied type of that binding pattern (section 5.1.3)
Foo;
(function(Foo1) {
Foo1[Foo1["a"] = 0] = "a";
(function(Foo) {
Foo[Foo["a"] = 0] = "a";
})(Foo || (Foo = {
}));
function c0({ z: { x , y: { j } } }) {

View File

@ -1,4 +1,4 @@
var Foo, Foo1;
var Foo, Foo;
function a1([a, b, [[c]]]) {
}
function b2(z = null, o = {
@ -39,8 +39,8 @@ a1([
}), b2("string", {
x: 200,
y: !0
}), (Foo1 = Foo || (Foo = {
}))[Foo1.a = 0] = "a", c0({
}), (Foo = Foo || (Foo = {
}))[Foo.a = 0] = "a", c0({
z: {
x: 1,
y: {

View File

@ -160,8 +160,8 @@ b7([
]); // Shouldn't be an error
var // If the declaration specifies a binding pattern, the parameter type is the implied type of that binding pattern (section 5.1.3)
Foo;
(function(Foo1) {
Foo1[Foo1["a"] = 0] = "a";
(function(Foo) {
Foo[Foo["a"] = 0] = "a";
})(Foo || (Foo = {
}));
function c0(param) {

View File

@ -119,7 +119,7 @@ a1([
!1
]
]
]), (Foo = Foo1 || (Foo1 = {
]), (Foo = Foo || (Foo = {
}))[Foo.a = 0] = "a", c0({
z: {
x: 1,
@ -164,7 +164,7 @@ a1([
!1,
!0
]);
var Foo, Foo1, C2 = function() {
var Foo, Foo, C2 = function() {
"use strict";
function C2() {
_classCallCheck(this, C2);

View File

@ -103,8 +103,8 @@ b7([
]); // Shouldn't be an error
var // If the declaration specifies a binding pattern, the parameter type is the implied type of that binding pattern (section 5.1.3)
Foo;
(function(Foo1) {
Foo1[Foo1["a"] = 0] = "a";
(function(Foo) {
Foo[Foo["a"] = 0] = "a";
})(Foo || (Foo = {
}));
function c0({ z: { x , y: { j } } }) {

View File

@ -1,4 +1,4 @@
var Foo, Foo1;
var Foo, Foo;
function a1([a, b, [[c]]]) {
}
function b2(z = null, o = {
@ -39,8 +39,8 @@ a1([
}), b2("string", {
x: 200,
y: !0
}), (Foo1 = Foo || (Foo = {
}))[Foo1.a = 0] = "a", c0({
}), (Foo = Foo || (Foo = {
}))[Foo.a = 0] = "a", c0({
z: {
x: 1,
y: {

View File

@ -161,8 +161,8 @@ b7([
]); // Shouldn't be an error
var // If the declaration specifies a binding pattern, the parameter type is the implied type of that binding pattern (section 5.1.3)
Foo;
(function(Foo1) {
Foo1[Foo1["a"] = 0] = "a";
(function(Foo) {
Foo[Foo["a"] = 0] = "a";
})(Foo || (Foo = {
}));
function c0(param) {

View File

@ -119,7 +119,7 @@ a1([
!1
]
]
]), (Foo = Foo1 || (Foo1 = {
]), (Foo = Foo || (Foo = {
}))[Foo.a = 0] = "a", c0({
z: {
x: 1,
@ -164,7 +164,7 @@ a1([
!1,
!0
]);
var Foo, Foo1, C2 = function() {
var Foo, Foo, C2 = function() {
"use strict";
function C2() {
_classCallCheck(this, C2);

View File

@ -87,8 +87,8 @@ b2("string", {
});
var // If the declaration specifies a binding pattern, the parameter type is the implied type of that binding pattern (section 5.1.3)
Foo;
(function(Foo1) {
Foo1[Foo1["a"] = 0] = "a";
(function(Foo) {
Foo[Foo["a"] = 0] = "a";
})(Foo || (Foo = {
}));
function c0({ z: { x , y: { j } } }) {

View File

@ -1,4 +1,4 @@
var Foo, Foo1;
var Foo, Foo;
function a1([a, b, [[c]]]) {
}
function b2(z = null, o = {
@ -39,8 +39,8 @@ a1([
}), b2("string", {
x: 200,
y: !0
}), (Foo1 = Foo || (Foo = {
}))[Foo1.a = 0] = "a", c0({
}), (Foo = Foo || (Foo = {
}))[Foo.a = 0] = "a", c0({
z: {
x: 1,
y: {

View File

@ -145,8 +145,8 @@ b2("string", {
});
var // If the declaration specifies a binding pattern, the parameter type is the implied type of that binding pattern (section 5.1.3)
Foo;
(function(Foo1) {
Foo1[Foo1["a"] = 0] = "a";
(function(Foo) {
Foo[Foo["a"] = 0] = "a";
})(Foo || (Foo = {
}));
function c0(param) {

View File

@ -83,7 +83,7 @@ a1([
}), b2("string", {
x: 200,
y: !0
}), (Foo = Foo1 || (Foo1 = {
}), (Foo = Foo || (Foo = {
}))[Foo.a = 0] = "a", c0({
z: {
x: 1,
@ -128,7 +128,7 @@ a1([
!1,
!0
]);
var Foo, Foo1, C2 = function() {
var Foo, Foo, C2 = function() {
"use strict";
function C2() {
_classCallCheck(this, C2);

View File

@ -71,15 +71,15 @@ function foo(...a) {
foo("hello", 1, 2);
foo("hello", "world");
var E;
(function(E2) {
E2[E2["a"] = 0] = "a";
E2[E2["b"] = 1] = "b";
(function(E) {
E[E["a"] = 0] = "a";
E[E["b"] = 1] = "b";
})(E || (E = {
}));
var E1;
(function(E11) {
E11[E11["a"] = 0] = "a";
E11[E11["b"] = 1] = "b";
(function(E1) {
E1[E1["a"] = 0] = "a";
E1[E1["b"] = 1] = "b";
})(E1 || (E1 = {
}));
function foo1(...a) {

View File

@ -1,4 +1,4 @@
var E, E1, E2, E11;
var E, E1, E, E1;
function a10([a, b, [[c]], ...x]) {
}
function foo(...a) {
@ -24,6 +24,6 @@ a10([
]), a10([
1,
2
]), foo("hello", 1, 2), foo("hello", "world"), (E = E2 || (E2 = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E11 || (E11 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E2.a), foo1(1, 2, 3, E11.a, E2.b);
]), foo("hello", 1, 2), foo("hello", "world"), (E = E || (E = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E1 || (E1 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E.a), foo1(1, 2, 3, E1.a, E.b);

View File

@ -141,15 +141,15 @@ function foo() {
foo("hello", 1, 2);
foo("hello", "world");
var E;
(function(E2) {
E2[E2["a"] = 0] = "a";
E2[E2["b"] = 1] = "b";
(function(E) {
E[E["a"] = 0] = "a";
E[E["b"] = 1] = "b";
})(E || (E = {
}));
var E1;
(function(E11) {
E11[E11["a"] = 0] = "a";
E11[E11["b"] = 1] = "b";
(function(E1) {
E1[E1["a"] = 0] = "a";
E1[E1["b"] = 1] = "b";
})(E1 || (E1 = {
}));
function foo1() {

View File

@ -41,7 +41,7 @@ function a10(param) {
var _param = _toArray(param), a = _param[0], b = _param[1], ref = _slicedToArray(_param[2], 1), ref1 = _slicedToArray(ref[0], 1);
ref1[0], _param.slice(3);
}
var E, E1, E2, E11, array = [
var E, E1, E, E1, array = [
1,
2,
3
@ -94,6 +94,6 @@ function foo1() {
})([
1,
2
]), foo("hello", 1, 2), foo("hello", "world"), (E = E2 || (E2 = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E11 || (E11 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E2.a), foo1(1, 2, 3, E11.a, E2.b);
]), foo("hello", 1, 2), foo("hello", "world"), (E = E || (E = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E1 || (E1 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E.a), foo1(1, 2, 3, E1.a, E.b);

View File

@ -71,15 +71,15 @@ function foo(...a) {
foo("hello", 1, 2);
foo("hello", "world");
var E;
(function(E2) {
E2[E2["a"] = 0] = "a";
E2[E2["b"] = 1] = "b";
(function(E) {
E[E["a"] = 0] = "a";
E[E["b"] = 1] = "b";
})(E || (E = {
}));
var E1;
(function(E11) {
E11[E11["a"] = 0] = "a";
E11[E11["b"] = 1] = "b";
(function(E1) {
E1[E1["a"] = 0] = "a";
E1[E1["b"] = 1] = "b";
})(E1 || (E1 = {
}));
function foo1(...a) {

View File

@ -1,4 +1,4 @@
var E, E1, E2, E11;
var E, E1, E, E1;
function a10([a, b, [[c]], ...x]) {
}
function foo(...a) {
@ -24,6 +24,6 @@ a10([
]), a10([
1,
2
]), foo("hello", 1, 2), foo("hello", "world"), (E = E2 || (E2 = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E11 || (E11 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E2.a), foo1(1, 2, 3, E11.a, E2.b);
]), foo("hello", 1, 2), foo("hello", "world"), (E = E || (E = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E1 || (E1 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E.a), foo1(1, 2, 3, E1.a, E.b);

View File

@ -141,15 +141,15 @@ function foo() {
foo("hello", 1, 2);
foo("hello", "world");
var E;
(function(E2) {
E2[E2["a"] = 0] = "a";
E2[E2["b"] = 1] = "b";
(function(E) {
E[E["a"] = 0] = "a";
E[E["b"] = 1] = "b";
})(E || (E = {
}));
var E1;
(function(E11) {
E11[E11["a"] = 0] = "a";
E11[E11["b"] = 1] = "b";
(function(E1) {
E1[E1["a"] = 0] = "a";
E1[E1["b"] = 1] = "b";
})(E1 || (E1 = {
}));
function foo1() {

View File

@ -41,7 +41,7 @@ function a10(param) {
var _param = _toArray(param), a = _param[0], b = _param[1], ref = _slicedToArray(_param[2], 1), ref1 = _slicedToArray(ref[0], 1);
ref1[0], _param.slice(3);
}
var E, E1, E2, E11, array = [
var E, E1, E, E1, array = [
1,
2,
3
@ -94,6 +94,6 @@ function foo1() {
})([
1,
2
]), foo("hello", 1, 2), foo("hello", "world"), (E = E2 || (E2 = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E11 || (E11 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E2.a), foo1(1, 2, 3, E11.a, E2.b);
]), foo("hello", 1, 2), foo("hello", "world"), (E = E || (E = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E1 || (E1 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E.a), foo1(1, 2, 3, E1.a, E.b);

View File

@ -71,15 +71,15 @@ function foo(...a) {
foo("hello", 1, 2);
foo("hello", "world");
var E;
(function(E2) {
E2[E2["a"] = 0] = "a";
E2[E2["b"] = 1] = "b";
(function(E) {
E[E["a"] = 0] = "a";
E[E["b"] = 1] = "b";
})(E || (E = {
}));
var E1;
(function(E11) {
E11[E11["a"] = 0] = "a";
E11[E11["b"] = 1] = "b";
(function(E1) {
E1[E1["a"] = 0] = "a";
E1[E1["b"] = 1] = "b";
})(E1 || (E1 = {
}));
function foo1(...a) {

View File

@ -1,4 +1,4 @@
var E, E1, E2, E11;
var E, E1, E, E1;
function a10([a, b, [[c]], ...x]) {
}
function foo(...a) {
@ -24,6 +24,6 @@ a10([
]), a10([
1,
2
]), foo("hello", 1, 2), foo("hello", "world"), (E = E2 || (E2 = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E11 || (E11 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E2.a), foo1(1, 2, 3, E11.a, E2.b);
]), foo("hello", 1, 2), foo("hello", "world"), (E = E || (E = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E1 || (E1 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E.a), foo1(1, 2, 3, E1.a, E.b);

View File

@ -141,15 +141,15 @@ function foo() {
foo("hello", 1, 2);
foo("hello", "world");
var E;
(function(E2) {
E2[E2["a"] = 0] = "a";
E2[E2["b"] = 1] = "b";
(function(E) {
E[E["a"] = 0] = "a";
E[E["b"] = 1] = "b";
})(E || (E = {
}));
var E1;
(function(E11) {
E11[E11["a"] = 0] = "a";
E11[E11["b"] = 1] = "b";
(function(E1) {
E1[E1["a"] = 0] = "a";
E1[E1["b"] = 1] = "b";
})(E1 || (E1 = {
}));
function foo1() {

View File

@ -41,7 +41,7 @@ function a10(param) {
var _param = _toArray(param), a = _param[0], b = _param[1], ref = _slicedToArray(_param[2], 1), ref1 = _slicedToArray(ref[0], 1);
ref1[0], _param.slice(3);
}
var E, E1, E2, E11, array = [
var E, E1, E, E1, array = [
1,
2,
3
@ -94,6 +94,6 @@ function foo1() {
})([
1,
2
]), foo("hello", 1, 2), foo("hello", "world"), (E = E2 || (E2 = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E11 || (E11 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E2.a), foo1(1, 2, 3, E11.a, E2.b);
]), foo("hello", 1, 2), foo("hello", "world"), (E = E || (E = {
}))[E.a = 0] = "a", E[E.b = 1] = "b", (E1 = E1 || (E1 = {
}))[E1.a = 0] = "a", E1[E1.b = 1] = "b", foo1(1, 2, 3, E.a), foo1(1, 2, 3, E1.a, E.b);

View File

@ -7,8 +7,8 @@ var array = [
}
];
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
for ({ x , y: y = E.x } of array){

View File

@ -1,6 +1,6 @@
var x, y, E, E1;
for ({ x , y: y = E.x } of ((E1 = E || (E = {
}))[E1.x = 0] = "x", [
var x, y, E, E;
for ({ x , y: y = E.x } of ((E = E || (E = {
}))[E.x = 0] = "x", [
{
x: "",
y: !0

View File

@ -7,8 +7,8 @@ var array = [
}
];
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;

View File

@ -1,14 +1,14 @@
var E;
(E = E1 || (E1 = {
(E = E || (E = {
}))[E.x = 0] = "x";
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
try {
for(var E1, _step, _iterator = [
for(var E, _step, _iterator = [
{
x: "",
y: !0
}
][Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value.x;
][Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value.x, E.x;
} catch (err) {
_didIteratorError = !0, _iteratorError = err;
} finally{

View File

@ -7,8 +7,8 @@ var array = [
}
];
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
for ({ x , y =E.x } of array){

View File

@ -1,6 +1,6 @@
var x, y, E, E1;
for ({ x , y =E.x } of ((E1 = E || (E = {
}))[E1.x = 0] = "x", [
var x, y, E, E;
for ({ x , y =E.x } of ((E = E || (E = {
}))[E.x = 0] = "x", [
{
x: "",
y: !0

View File

@ -7,8 +7,8 @@ var array = [
}
];
var E;
(function(E1) {
E1[E1["x"] = 0] = "x";
(function(E) {
E[E["x"] = 0] = "x";
})(E || (E = {
}));
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;

View File

@ -1,14 +1,14 @@
var E;
(E = E1 || (E1 = {
(E = E || (E = {
}))[E.x = 0] = "x";
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
try {
for(var E1, ref, ref1, _step, _iterator = [
for(var E, ref, ref1, _step, _iterator = [
{
x: "",
y: !0
}
][Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)(ref = _step.value).x, ref1 = ref.y, void 0 === ref1;
][Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)(ref = _step.value).x, ref1 = ref.y, void 0 === ref1 && E.x;
} catch (err) {
_didIteratorError = !0, _iteratorError = err;
} finally{

View File

@ -9,17 +9,17 @@ function f() {
class C {
}
var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
var M;

View File

@ -3,14 +3,14 @@ function f() {
}
class C {
}
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var E, D, M, v, E1, D1, a = M.x;
var E, D, M, v, E, D, a = M.x;
export { v, f, C, E, D, a };
export { v, f, C, E, D, a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -16,17 +16,17 @@ var C = function C() {
_classCallCheck(this, C);
};
var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
var M;

View File

@ -1,20 +1,20 @@
import { I, M, N, T, a } from "./t1";
function f() {
}
var D, E, D1, M, v, E1, C = function() {
var D, E, D, M, v, E, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D = D1 || (D1 = {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var a = M.x;
export { v, f, C, E, D1 as D, a };
export { v, f, C, E, D1 as D, a } from "./t1";
export { v, f, C, E, D1 as D, a };
export { v, f, C, E, D, a };
export { v, f, C, E, D, a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -9,17 +9,17 @@ function f() {
class C {
}
var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
var M;

View File

@ -3,14 +3,14 @@ function f() {
}
class C {
}
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var E, D, M, v, E1, D1, a = M.x;
var E, D, M, v, E, D, a = M.x;
export { v, f, C, E, D, a };
export { v, f, C, E, D, a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -16,17 +16,17 @@ var C = function C() {
_classCallCheck(this, C);
};
var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
var M;

View File

@ -1,20 +1,20 @@
import { I, M, N, T, a } from "./t1";
function f() {
}
var D, E, D1, M, v, E1, C = function() {
var D, E, D, M, v, E, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D = D1 || (D1 = {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var a = M.x;
export { v, f, C, E, D1 as D, a };
export { v, f, C, E, D1 as D, a } from "./t1";
export { v, f, C, E, D1 as D, a };
export { v, f, C, E, D, a };
export { v, f, C, E, D, a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -8,17 +8,17 @@ function f() {
class C {
}
var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
var M;

View File

@ -3,14 +3,14 @@ function f() {
}
class C {
}
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var E, D, M, v, E1, D1, a = M.x;
var E, D, M, v, E, D, a = M.x;
export { v, f, C, E, D, a };
export { v, f, C, E, D, a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -15,17 +15,17 @@ var C = function C() {
_classCallCheck(this, C);
};
var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
var M;

View File

@ -1,20 +1,20 @@
import { I, M, N, T, a } from "./t1";
function f() {
}
var D, E, D1, M, v, E1, C = function() {
var D, E, D, M, v, E, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D = D1 || (D1 = {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var a = M.x;
export { v, f, C, E, D1 as D, a };
export { v, f, C, E, D1 as D, a } from "./t1";
export { v, f, C, E, D1 as D, a };
export { v, f, C, E, D, a };
export { v, f, C, E, D, a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -9,17 +9,17 @@ export function f() {
export class C {
}
export var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
export var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
export var M;

View File

@ -3,15 +3,14 @@ export function f() {
}
export class C {
}
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var E, D, M, v, E1, D1, a = M.x;
export { E1 as E, D1 as D };
export var E, D, M, v, E, D, a = M.x;
export { v as v1, f as f1, C as C1, E as E1, D as D1, a as a1 };
export { v1 as v, f1 as f, C1 as C, I1 as I, E1 as E, D1 as D, M1 as M, N1 as N, T1 as T, a1 as a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -16,17 +16,17 @@ export var C = function C() {
_classCallCheck(this, C);
};
export var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
export var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
export var M;

View File

@ -1,16 +1,15 @@
import { I1 as I, M1 as M, N1 as N, T1 as T, a1 as a } from "./t1";
export function f() {
}
var E, D, M, v, E1, D1, C = function() {
export var E, D, M, v, E, D, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
export { E1 as E, D1 as D };
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {

View File

@ -9,17 +9,17 @@ export function f() {
export class C {
}
export var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
export var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
export var M;

View File

@ -3,15 +3,14 @@ export function f() {
}
export class C {
}
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var E, D, M, v, E1, D1, a = M.x;
export { E1 as E, D1 as D };
export var E, D, M, v, E, D, a = M.x;
export { v as v1, f as f1, C as C1, E as E1, D as D1, a as a1 };
export { v1 as v, f1 as f, C1 as C, I1 as I, E1 as E, D1 as D, M1 as M, N1 as N, T1 as T, a1 as a } from "./t1";
export { v, f, C, E, D, a };

View File

@ -16,17 +16,17 @@ export var C = function C() {
_classCallCheck(this, C);
};
export var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
export var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
export var M;

View File

@ -1,16 +1,15 @@
import { I1 as I, M1 as M, N1 as N, T1 as T, a1 as a } from "./t1";
export function f() {
}
var E, D, M, v, E1, D1, C = function() {
export var E, D, M, v, E, D, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
export { E1 as E, D1 as D };
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {

View File

@ -8,17 +8,17 @@ export function f() {
export class C {
}
export var E;
(function(E1) {
E1[E1["A"] = 0] = "A";
E1[E1["B"] = 1] = "B";
E1[E1["C"] = 2] = "C";
(function(E) {
E[E["A"] = 0] = "A";
E[E["B"] = 1] = "B";
E[E["C"] = 2] = "C";
})(E || (E = {
}));
export var D;
(function(D1) {
D1[D1["A"] = 0] = "A";
D1[D1["B"] = 1] = "B";
D1[D1["C"] = 2] = "C";
(function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 1] = "B";
D[D["C"] = 2] = "C";
})(D || (D = {
}));
export var M;

View File

@ -3,15 +3,14 @@ export function f() {
}
export class C {
}
(E1 = E || (E = {
}))[E1.A = 0] = "A", E1[E1.B = 1] = "B", E1[E1.C = 2] = "C", (D1 = D || (D = {
}))[D1.A = 0] = "A", D1[D1.B = 1] = "B", D1[D1.C = 2] = "C", (function(M1) {
(E = E || (E = {
}))[E.A = 0] = "A", E[E.B = 1] = "B", E[E.C = 2] = "C", (D = D || (D = {
}))[D.A = 0] = "A", D[D.B = 1] = "B", D[D.C = 2] = "C", (function(M1) {
var x;
M1.x = x;
})(M || (M = {
}));
var E, D, M, v, E1, D1, a = M.x;
export { E1 as E, D1 as D };
export var E, D, M, v, E, D, a = M.x;
export { v as v1, f as f1, C as C1, E as E1, D as D1, a as a1 };
export { v1 as v, f1 as f, C1 as C, I1 as I, E1 as E, D1 as D, M1 as M, N1 as N, T1 as T, a1 as a } from "./t1";
export { v, f, C, E, D, a };

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