Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-getters-and-setters--to-es2015/public/output.js

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