Debian Codegraph @

packages/babel-parser/test/fixtures/flow/regression/issue-10675-function/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
13 "id": {
14 "type": "Identifier",
15 "start":9,"end":11,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":11,"index":11},"identifierName":"of"},
16 "name": "of"
17 },
18 "generator": false,
19 "async": false,
20 "typeParameters": {
21 "type": "TypeParameterDeclaration",
22 "start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14}},
23 "params": [
24 {
25 "type": "TypeParameter",
26 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
27 "name": "T",
28 "variance": null
29 }
30 ]
31 },
32 "params": [],
33 "body": {
34 "type": "BlockStatement",
35 "start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}},
36 "body": [],
37 "directives": []
38 }
39 }
40 ],
41 "directives": []
42 }
43 }