Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/nested-class-other-redeclared/output.js

raw symbols SCIP
1 var _foo = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("foo");
2 var _bar = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("bar");
3 var Foo = /*#__PURE__*/function () {
4 "use strict";
5
6 function Foo() {
7 babelHelpers.classCallCheck(this, Foo);
8 Object.defineProperty(this, _foo, {
9 writable: true,
10 value: 1
11 });
12 Object.defineProperty(this, _bar, {
13 writable: true,
14 value: 1
15 });
16 }
17 babelHelpers.createClass(Foo, [{
18 key: "test",
19 value: function test() {
20 var _bar2 = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("bar");
21 var Nested = /*#__PURE__*/function () {
22 function Nested() {
23 babelHelpers.classCallCheck(this, Nested);
24 Object.defineProperty(this, _bar2, {
25 writable: true,
26 value: 2
27 });
28 }
29 babelHelpers.createClass(Nested, [{
30 key: "test",
31 value: function test() {
32 babelHelpers.classPrivateFieldLooseBase(this, _foo)[_foo];
33 babelHelpers.classPrivateFieldLooseBase(this, _bar2)[_bar2];
34 }
35 }]);
36 return Nested;
37 }();
38 babelHelpers.classPrivateFieldLooseBase(this, _foo)[_foo];
39 babelHelpers.classPrivateFieldLooseBase(this, _bar)[_bar];
40 }
41 }]);
42 return Foo;
43 }();