Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/class-private-properties/static/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":41}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":41}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":41}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"},
16 "name": "A"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":8,"end":41,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":4,"column":1,"index":41}},
22 "body": [
23 {
24 "type": "ClassPrivateProperty",
25 "start":12,"end":22,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":12,"index":22}},
26 "static": true,
27 "key": {
28 "type": "PrivateName",
29 "start":19,"end":21,"loc":{"start":{"line":2,"column":9,"index":19},"end":{"line":2,"column":11,"index":21}},
30 "id": {
31 "type": "Identifier",
32 "start":20,"end":21,"loc":{"start":{"line":2,"column":10,"index":20},"end":{"line":2,"column":11,"index":21},"identifierName":"x"},
33 "name": "x"
34 }
35 },
36 "value": null
37 },
38 {
39 "type": "ClassPrivateProperty",
40 "start":25,"end":39,"loc":{"start":{"line":3,"column":2,"index":25},"end":{"line":3,"column":16,"index":39}},
41 "static": true,
42 "key": {
43 "type": "PrivateName",
44 "start":32,"end":34,"loc":{"start":{"line":3,"column":9,"index":32},"end":{"line":3,"column":11,"index":34}},
45 "id": {
46 "type": "Identifier",
47 "start":33,"end":34,"loc":{"start":{"line":3,"column":10,"index":33},"end":{"line":3,"column":11,"index":34},"identifierName":"y"},
48 "name": "y"
49 }
50 },
51 "value": {
52 "type": "NumericLiteral",
53 "start":37,"end":38,"loc":{"start":{"line":3,"column":14,"index":37},"end":{"line":3,"column":15,"index":38}},
54 "extra": {
55 "rawValue": 1,
56 "raw": "1"
57 },
58 "value": 1
59 }
60 }
61 ]
62 }
63 }
64 ],
65 "directives": []
66 }
67 }