Debian Codegraph @

packages/babel-parser/test/fixtures/flow/class-private-property/declare-field/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":26}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":26}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":26}},
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":26,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":26}},
22 "body": [
23 {
24 "type": "ClassPrivateProperty",
25 "start":12,"end":24,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":14,"index":24}},
26 "declare": true,
27 "static": false,
28 "variance": null,
29 "key": {
30 "type": "PrivateName",
31 "start":20,"end":24,"loc":{"start":{"line":2,"column":10,"index":20},"end":{"line":2,"column":14,"index":24}},
32 "id": {
33 "type": "Identifier",
34 "start":21,"end":24,"loc":{"start":{"line":2,"column":11,"index":21},"end":{"line":2,"column":14,"index":24},"identifierName":"foo"},
35 "name": "foo"
36 }
37 },
38 "value": null
39 }
40 ]
41 }
42 }
43 ],
44 "directives": []
45 }
46 }