Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
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": "Identifier",
23 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"a"},
24 "name": "a"
25 },
26 {
27 "type": "RestElement",
28 "start":18,"end":25,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":25,"index":25}},
29 "argument": {
30 "type": "Identifier",
31 "start":21,"end":25,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":25,"index":25},"identifierName":"rest"},
32 "name": "rest"
33 }
34 }
35 ],
36 "body": {
37 "type": "BlockStatement",
38 "start":27,"end":30,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":30,"index":30}},
39 "body": [],
40 "directives": []
41 }
42 }
43 ],
44 "directives": []
45 }
46 }