Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/public/super-call/output.js

raw symbols SCIP
1 var A = /*#__PURE__*/function () {
2 "use strict";
3
4 function A() {
5 babelHelpers.classCallCheck(this, A);
6 }
7 babelHelpers.createClass(A, [{
8 key: "foo",
9 value: function foo() {
10 return "bar";
11 }
12 }]);
13 return A;
14 }();
15 var B = /*#__PURE__*/function (_A) {
16 "use strict";
17
18 babelHelpers.inherits(B, _A);
19 var _super = babelHelpers.createSuper(B);
20 function B(...args) {
21 var _thisSuper, _this;
22 babelHelpers.classCallCheck(this, B);
23 _this = _super.call(this, ...args);
24 babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "foo", babelHelpers.get((_thisSuper = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(B.prototype)), "foo", _thisSuper).call(_thisSuper));
25 return _this;
26 }
27 return babelHelpers.createClass(B);
28 }(A);