Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-accessors--to-es2015/static-private/output.js

raw symbols SCIP
1 var _init_a, _get_a, _set_a, _init_b, _get_b, _set_b, _initStatic;
2 const dec = () => {};
3 var _a = /*#__PURE__*/new WeakMap();
4 var _b = /*#__PURE__*/new WeakMap();
5 class Foo {
6 constructor() {
7 babelHelpers.classPrivateFieldInitSpec(this, _b, {
8 get: _get_b2,
9 set: _set_b2
10 });
11 babelHelpers.classPrivateFieldInitSpec(this, _a, {
12 get: _get_a2,
13 set: _set_a2
14 });
15 }
16 }
17 function _set_a2(v) {
18 _set_a(this, v);
19 }
20 function _get_a2() {
21 return _get_a(this);
22 }
23 function _set_b2(v) {
24 _set_b(this, v);
25 }
26 function _get_b2() {
27 return _get_b(this);
28 }
29 (() => {
30 [_init_a, _get_a, _set_a, _init_b, _get_b, _set_b, _initStatic] = babelHelpers.applyDecs(Foo, [[dec, 6, "a", function () {
31 return babelHelpers.classStaticPrivateFieldSpecGet(this, Foo, _A);
32 }, function (value) {
33 babelHelpers.classStaticPrivateFieldSpecSet(this, Foo, _A, value);
34 }], [dec, 6, "b", function () {
35 return babelHelpers.classStaticPrivateFieldSpecGet(this, Foo, _B);
36 }, function (value) {
37 babelHelpers.classStaticPrivateFieldSpecSet(this, Foo, _B, value);
38 }]], []);
39 _initStatic(Foo);
40 })();
41 var _A = {
42 writable: true,
43 value: _init_a(Foo)
44 };
45 var _B = {
46 writable: true,
47 value: _init_b(Foo, 123)
48 };