Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T7364/output.mjs

raw symbols SCIP
1 var _myAsyncMethod = /*#__PURE__*/new WeakMap();
2 class MyClass {
3 constructor() {
4 var _this = this;
5 babelHelpers.classPrivateFieldInitSpec(this, _myAsyncMethod, {
6 writable: true,
7 value: function () {
8 var _ref = babelHelpers.asyncToGenerator(function* () {
9 console.log(_this);
10 });
11 return function value() {
12 return _ref.apply(this, arguments);
13 };
14 }()
15 });
16 }
17 }
18 var _myAsyncMethod2 = /*#__PURE__*/new WeakMap();
19 (class MyClass2 {
20 constructor() {
21 var _this2 = this;
22 babelHelpers.classPrivateFieldInitSpec(this, _myAsyncMethod2, {
23 writable: true,
24 value: function () {
25 var _ref2 = babelHelpers.asyncToGenerator(function* () {
26 console.log(_this2);
27 });
28 return function value() {
29 return _ref2.apply(this, arguments);
30 };
31 }()
32 });
33 }
34 });
35 var _myAsyncMethod3 = /*#__PURE__*/new WeakMap();
36 export default class MyClass3 {
37 constructor() {
38 var _this3 = this;
39 babelHelpers.classPrivateFieldInitSpec(this, _myAsyncMethod3, {
40 writable: true,
41 value: function () {
42 var _ref3 = babelHelpers.asyncToGenerator(function* () {
43 console.log(_this3);
44 });
45 return function value() {
46 return _ref3.apply(this, arguments);
47 };
48 }()
49 });
50 }
51 }