Debian Codegraph @

packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-getters-and-setters/static-private/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 static getA() {
16 return this.#a;
17 }
18
19 static setA(v) {
20 this.#a = v;
21 }
22 }