forked from babel/babel
/
output.js
44 lines (44 loc) · 1.02 KB
/
output.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
var _initStatic, _init_a, _get_a, _set_a, _init_b, _get_b, _set_b, _Foo;
const dec = () => {};
class Foo {}
_Foo = Foo;
function _set_a2(v) {
_set_a(this, v);
}
function _get_a2() {
return _get_a(this);
}
function _set_b2(v) {
_set_b(this, v);
}
function _get_b2() {
return _get_b(this);
}
var _b = {
get: _get_b2,
set: _set_b2
};
var _a = {
get: _get_a2,
set: _set_a2
};
(() => {
[_init_a, _get_a, _set_a, _init_b, _get_b, _set_b, _initStatic] = babelHelpers.applyDecs(_Foo, [[dec, 6, "a", function () {
return babelHelpers.classStaticPrivateFieldSpecGet(this, _Foo, _A);
}, function (value) {
babelHelpers.classStaticPrivateFieldSpecSet(this, _Foo, _A, value);
}], [dec, 6, "b", function () {
return babelHelpers.classStaticPrivateFieldSpecGet(this, _Foo, _B);
}, function (value) {
babelHelpers.classStaticPrivateFieldSpecSet(this, _Foo, _B, value);
}]], []);
_initStatic(_Foo);
})();
var _A = {
writable: true,
value: _init_a(_Foo)
};
var _B = {
writable: true,
value: _init_b(_Foo, 123)
};