Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/267/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": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "WithStatement",
12 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
13 "object": {
14 "type": "Identifier",
15 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
16 "name": "x"
17 },
18 "body": {
19 "type": "BlockStatement",
20 "start":9,"end":22,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":22,"index":22}},
21 "body": [
22 {
23 "type": "ExpressionStatement",
24 "start":11,"end":20,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":20,"index":20}},
25 "expression": {
26 "type": "AssignmentExpression",
27 "start":11,"end":20,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":20,"index":20}},
28 "operator": "=",
29 "left": {
30 "type": "Identifier",
31 "start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14},"identifierName":"foo"},
32 "name": "foo"
33 },
34 "right": {
35 "type": "Identifier",
36 "start":17,"end":20,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":20,"index":20},"identifierName":"bar"},
37 "name": "bar"
38 }
39 }
40 }
41 ],
42 "directives": []
43 }
44 }
45 ],
46 "directives": []
47 }
48 }