Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":5,"index":25}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":5,"index":25}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":5,"index":25}},
13 "expression": {
14 "type": "FunctionExpression",
15 "start":1,"end":24,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":2,"column":4,"index":24}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [],
20 "body": {
21 "type": "BlockStatement",
22 "start":11,"end":24,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":2,"column":4,"index":24}},
23 "body": [
24 {
25 "type": "ReturnStatement",
26 "start":13,"end":19,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":19,"index":19}},
27 "argument": null
28 },
29 {
30 "type": "ExpressionStatement",
31 "start":20,"end":22,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":2,"index":22}},
32 "expression": {
33 "type": "Identifier",
34 "start":20,"end":21,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":1,"index":21},"identifierName":"x"},
35 "name": "x"
36 }
37 }
38 ],
39 "directives": []
40 },
41 "extra": {
42 "parenthesized": true,
43 "parenStart": 0
44 }
45 }
46 }
47 ],
48 "directives": []
49 }
50 }