Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/310/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ForInStatement",
12 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
13 "left": {
14 "type": "ObjectPattern",
15 "start":5,"end":12,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":12,"index":12}},
16 "properties": [
17 {
18 "type": "ObjectProperty",
19 "start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11}},
20 "method": false,
21 "key": {
22 "type": "Identifier",
23 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
24 "name": "x"
25 },
26 "computed": false,
27 "shorthand": true,
28 "value": {
29 "type": "AssignmentPattern",
30 "start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11}},
31 "left": {
32 "type": "Identifier",
33 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
34 "name": "x"
35 },
36 "right": {
37 "type": "NumericLiteral",
38 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11}},
39 "extra": {
40 "rawValue": 0,
41 "raw": "0"
42 },
43 "value": 0
44 }
45 },
46 "extra": {
47 "shorthand": true
48 }
49 }
50 ]
51 },
52 "right": {
53 "type": "Identifier",
54 "start":16,"end":19,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":19,"index":19},"identifierName":"arr"},
55 "name": "arr"
56 },
57 "body": {
58 "type": "EmptyStatement",
59 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21}}
60 }
61 }
62 ],
63 "directives": []
64 }
65 }