Debian Codegraph @

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

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