Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-accessors/public/output.js

raw symbols SCIP
1 var _init_a, _init_b, _computedKey, _init_computedKey, _initProto;
2 const dec = () => {};
3 _computedKey = 'c';
4 class Foo {
5 static {
6 [_init_a, _init_b, _init_computedKey, _initProto] = babelHelpers.applyDecs(this, [[dec, 1, "a"], [dec, 1, "b"], [dec, 1, _computedKey]], []);
7 }
8 #A = (_initProto(this), _init_a(this));
9 get a() {
10 return this.#A;
11 }
12 set a(v) {
13 this.#A = v;
14 }
15 #B = _init_b(this, 123);
16 get b() {
17 return this.#B;
18 }
19 set b(v) {
20 this.#B = v;
21 }
22 #C = _init_computedKey(this, 456);
23 get [_computedKey]() {
24 return this.#C;
25 }
26 set [_computedKey](v) {
27 this.#C = v;
28 }
29 }