Debian Codegraph @

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

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