Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-getters-and-setters/static-public/input.js

raw symbols SCIP
1 const dec = () => {};
2 class Foo {
3 static value = 1;
4
5 @dec
6 static get a() {
7 return this.value;
8 }
9
10 @dec
11 static set a(v) {
12 this.value = v;
13 }
14
15 @dec
16 static get ['b']() {
17 return this.value;
18 }
19
20 @dec
21 static set ['b'](v) {
22 this.value = v;
23 }
24 }