Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-getters-and-setters/public/output.js

raw symbols SCIP
1 var _computedKey, _computedKey2, _initProto;
2 const dec = () => {};
3 _computedKey = 'b';
4 _computedKey2 = 'b';
5 class Foo {
6 static {
7 [_initProto] = babelHelpers.applyDecs2203R(this, [[dec, 3, "a"], [dec, 4, "a"], [dec, 3, _computedKey], [dec, 4, _computedKey2]], []).e;
8 }
9 constructor(...args) {
10 _initProto(this);
11 }
12 value = 1;
13 get a() {
14 return this.value;
15 }
16 set a(v) {
17 this.value = v;
18 }
19 get [_computedKey]() {
20 return this.value;
21 }
22 set [_computedKey2](v) {
23 this.value = v;
24 }
25 }