Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/292/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": "FunctionDeclaration",
12 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
13 "id": {
14 "type": "Identifier",
15 "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"hello"},
16 "name": "hello"
17 },
18 "generator": false,
19 "async": false,
20 "params": [
21 {
22 "type": "RestElement",
23 "start":15,"end":22,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":22,"index":22}},
24 "argument": {
25 "type": "Identifier",
26 "start":18,"end":22,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":22,"index":22},"identifierName":"rest"},
27 "name": "rest"
28 }
29 }
30 ],
31 "body": {
32 "type": "BlockStatement",
33 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27}},
34 "body": [],
35 "directives": []
36 }
37 }
38 ],
39 "directives": []
40 }
41 }