Debian Codegraph @

packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-var-declare-var/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":22,"index":45}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":22,"index":45}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "DeclareVariable",
12 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
13 "id": {
14 "type": "Identifier",
15 "start":12,"end":21,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":21,"index":21},"identifierName":"A"},
16 "name": "A",
17 "typeAnnotation": {
18 "type": "TypeAnnotation",
19 "start":13,"end":21,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":21,"index":21}},
20 "typeAnnotation": {
21 "type": "NumberTypeAnnotation",
22 "start":15,"end":21,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":21,"index":21}}
23 }
24 }
25 }
26 },
27 {
28 "type": "DeclareVariable",
29 "start":23,"end":45,"loc":{"start":{"line":2,"column":0,"index":23},"end":{"line":2,"column":22,"index":45}},
30 "id": {
31 "type": "Identifier",
32 "start":35,"end":44,"loc":{"start":{"line":2,"column":12,"index":35},"end":{"line":2,"column":21,"index":44},"identifierName":"A"},
33 "name": "A",
34 "typeAnnotation": {
35 "type": "TypeAnnotation",
36 "start":36,"end":44,"loc":{"start":{"line":2,"column":13,"index":36},"end":{"line":2,"column":21,"index":44}},
37 "typeAnnotation": {
38 "type": "NumberTypeAnnotation",
39 "start":38,"end":44,"loc":{"start":{"line":2,"column":15,"index":38},"end":{"line":2,"column":21,"index":44}}
40 }
41 }
42 }
43 }
44 ],
45 "directives": []
46 }
47 }