Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/spec/super-class-anonymous/output.js

raw
1 var TestEmpty = /*#__PURE__*/function (_ref) {
2 "use strict";
3
4 babelHelpers.inherits(TestEmpty, _ref);
5 var _super = babelHelpers.createSuper(TestEmpty);
6 function TestEmpty() {
7 babelHelpers.classCallCheck(this, TestEmpty);
8 return _super.apply(this, arguments);
9 }
10 return babelHelpers.createClass(TestEmpty);
11 }( /*#__PURE__*/function () {
12 "use strict";
13
14 function _class() {
15 babelHelpers.classCallCheck(this, _class);
16 }
17 return babelHelpers.createClass(_class);
18 }());
19 var TestConstructorOnly = /*#__PURE__*/function (_ref2) {
20 "use strict";
21
22 babelHelpers.inherits(TestConstructorOnly, _ref2);
23 var _super2 = babelHelpers.createSuper(TestConstructorOnly);
24 function TestConstructorOnly() {
25 babelHelpers.classCallCheck(this, TestConstructorOnly);
26 return _super2.apply(this, arguments);
27 }
28 return babelHelpers.createClass(TestConstructorOnly);
29 }( /*#__PURE__*/function () {
30 "use strict";
31
32 function _class2() {
33 babelHelpers.classCallCheck(this, _class2);
34 }
35 return babelHelpers.createClass(_class2);
36 }());
37 var TestMethodOnly = /*#__PURE__*/function (_ref3) {
38 "use strict";
39
40 babelHelpers.inherits(TestMethodOnly, _ref3);
41 var _super3 = babelHelpers.createSuper(TestMethodOnly);
42 function TestMethodOnly() {
43 babelHelpers.classCallCheck(this, TestMethodOnly);
44 return _super3.apply(this, arguments);
45 }
46 return babelHelpers.createClass(TestMethodOnly);
47 }( /*#__PURE__*/function () {
48 "use strict";
49
50 function _class3() {
51 babelHelpers.classCallCheck(this, _class3);
52 }
53 babelHelpers.createClass(_class3, [{
54 key: "method",
55 value: function method() {}
56 }]);
57 return _class3;
58 }());
59 var TestConstructorAndMethod = /*#__PURE__*/function (_ref4) {
60 "use strict";
61
62 babelHelpers.inherits(TestConstructorAndMethod, _ref4);
63 var _super4 = babelHelpers.createSuper(TestConstructorAndMethod);
64 function TestConstructorAndMethod() {
65 babelHelpers.classCallCheck(this, TestConstructorAndMethod);
66 return _super4.apply(this, arguments);
67 }
68 return babelHelpers.createClass(TestConstructorAndMethod);
69 }( /*#__PURE__*/function () {
70 "use strict";
71
72 function _class4() {
73 babelHelpers.classCallCheck(this, _class4);
74 }
75 babelHelpers.createClass(_class4, [{
76 key: "method",
77 value: function method() {}
78 }]);
79 return _class4;
80 }());
81 var TestMultipleMethods = /*#__PURE__*/function (_ref5) {
82 "use strict";
83
84 babelHelpers.inherits(TestMultipleMethods, _ref5);
85 var _super5 = babelHelpers.createSuper(TestMultipleMethods);
86 function TestMultipleMethods() {
87 babelHelpers.classCallCheck(this, TestMultipleMethods);
88 return _super5.apply(this, arguments);
89 }
90 return babelHelpers.createClass(TestMultipleMethods);
91 }( /*#__PURE__*/function () {
92 "use strict";
93
94 function _class5() {
95 babelHelpers.classCallCheck(this, _class5);
96 }
97 babelHelpers.createClass(_class5, [{
98 key: "m1",
99 value: function m1() {}
100 }, {
101 key: "m2",
102 value: function m2() {}
103 }]);
104 return _class5;
105 }());