Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/decorators-legacy-interop/local-define-property/output.js

raw symbols SCIP
1 var _class, _descriptor, _descriptor2;
2 function dec() {}
3
4 // Create a local function binding so babel has to change the name of the helper
5 function _defineProperty() {}
6 let A = (_class = /*#__PURE__*/babelHelpers.createClass(function A() {
7 "use strict";
8
9 babelHelpers.classCallCheck(this, A);
10 babelHelpers.initializerDefineProperty(this, "a", _descriptor, this);
11 babelHelpers.initializerDefineProperty(this, "b", _descriptor2, this);
12 babelHelpers.defineProperty(this, "c", 456);
13 }), (_descriptor = babelHelpers.applyDecoratedDescriptor(_class.prototype, "a", [dec], {
14 configurable: true,
15 enumerable: true,
16 writable: true,
17 initializer: null
18 }), _descriptor2 = babelHelpers.applyDecoratedDescriptor(_class.prototype, "b", [dec], {
19 configurable: true,
20 enumerable: true,
21 writable: true,
22 initializer: function () {
23 return 123;
24 }
25 })), _class);