Debian Codegraph @

packages/babel-parser/test/fixtures/flow/declare-statements/symbol/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
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":"x"},
16 "name": "x",
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": "SymbolTypeAnnotation",
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 "directives": []
29 }
30 }