Debian Codegraph @

packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-var/output.json

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