Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-accessors/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 {
6 [_init_a, _init_b, _init_computedKey, _initStatic] = babelHelpers.applyDecs2203R(this, [[dec, 6, "a"], [dec, 6, "b"], [dec, 6, _computedKey]], []).e;
7 _initStatic(this);
8 }
9 static #A = _init_a(this);
10 static get a() {
11 return this.#A;
12 }
13 static set a(v) {
14 this.#A = v;
15 }
16 static #B = _init_b(this, 123);
17 static get b() {
18 return this.#B;
19 }
20 static set b(v) {
21 this.#B = v;
22 }
23 static #C = _init_computedKey(this, 456);
24 static get [_computedKey]() {
25 return this.#C;
26 }
27 static set [_computedKey](v) {
28 this.#C = v;
29 }
30 }