Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/statement-iteration/migrated_0025/output.json

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