Debian Codegraph @

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

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