Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-accessors--to-es2015/static-public/output.js

raw symbols SCIP
1 var _init_a, _init_b, _computedKey, _init_computedKey, _initStatic;
2 const dec = () => {};
3 _computedKey = 'c';
4 class Foo {
5 static get a() {
6 return babelHelpers.classStaticPrivateFieldSpecGet(this, Foo, _A);
7 }
8 static set a(v) {
9 babelHelpers.classStaticPrivateFieldSpecSet(this, Foo, _A, v);
10 }
11 static get b() {
12 return babelHelpers.classStaticPrivateFieldSpecGet(this, Foo, _B);
13 }
14 static set b(v) {
15 babelHelpers.classStaticPrivateFieldSpecSet(this, Foo, _B, v);
16 }
17 static get [_computedKey]() {
18 return babelHelpers.classStaticPrivateFieldSpecGet(this, Foo, _C);
19 }
20 static set [_computedKey](v) {
21 babelHelpers.classStaticPrivateFieldSpecSet(this, Foo, _C, v);
22 }
23 }
24 (() => {
25 [_init_a, _init_b, _init_computedKey, _initStatic] = babelHelpers.applyDecs2203R(Foo, [[dec, 6, "a"], [dec, 6, "b"], [dec, 6, _computedKey]], []).e;
26 _initStatic(Foo);
27 })();
28 var _A = {
29 writable: true,
30 value: _init_a(Foo)
31 };
32 var _B = {
33 writable: true,
34 value: _init_b(Foo, 123)
35 };
36 var _C = {
37 writable: true,
38 value: _init_computedKey(Foo, 456)
39 };