Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/spec/name-collisions-with-class-ref-in-constructor/output.js

raw
1 var Base = /*#__PURE__*/function () {
2 "use strict";
3
4 function Base() {
5 babelHelpers.classCallCheck(this, Base);
6 }
7 babelHelpers.createClass(Base, [{
8 key: "method",
9 value: function method() {}
10 }]);
11 return Base;
12 }();
13 var Foo = /*#__PURE__*/function (_Base) {
14 "use strict";
15
16 babelHelpers.inherits(Foo, _Base);
17 var _super = babelHelpers.createSuper(Foo);
18 function Foo() {
19 var _thisSuper, _this;
20 babelHelpers.classCallCheck(this, Foo);
21 _this = _super.call(this);
22 if (true) {
23 var _Foo;
24 babelHelpers.get((_thisSuper = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(Foo.prototype)), "method", _thisSuper).call(_thisSuper);
25 }
26 return _this;
27 }
28 babelHelpers.createClass(Foo, [{
29 key: "method",
30 value: function method() {}
31 }]);
32 return Foo;
33 }(Base);