Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-fields--to-es2015/private/output.js

raw symbols SCIP
1 var _init_a, _init_b;
2 const dec = () => {};
3 var _a = /*#__PURE__*/new WeakMap();
4 var _b = /*#__PURE__*/new WeakMap();
5 class Foo {
6 constructor() {
7 babelHelpers.classPrivateFieldInitSpec(this, _a, {
8 writable: true,
9 value: _init_a(this)
10 });
11 babelHelpers.classPrivateFieldInitSpec(this, _b, {
12 writable: true,
13 value: _init_b(this, 123)
14 });
15 }
16 }
17 [_init_a, _init_b] = babelHelpers.applyDecs2203R(Foo, [[dec, 0, "a", function () {
18 return babelHelpers.classPrivateFieldGet(this, _a);
19 }, function (value) {
20 babelHelpers.classPrivateFieldSet(this, _a, value);
21 }], [dec, 0, "b", function () {
22 return babelHelpers.classPrivateFieldGet(this, _b);
23 }, function (value) {
24 babelHelpers.classPrivateFieldSet(this, _b, value);
25 }]], []).e;