Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-arrow-inside-generator/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
13 "id": {
14 "type": "Identifier",
15 "start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12},"identifierName":"fn"},
16 "name": "fn"
17 },
18 "generator": true,
19 "async": false,
20 "params": [],
21 "body": {
22 "type": "BlockStatement",
23 "start":15,"end":41,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":3,"column":1,"index":41}},
24 "body": [
25 {
26 "type": "ExpressionStatement",
27 "start":19,"end":39,"loc":{"start":{"line":2,"column":2,"index":19},"end":{"line":2,"column":22,"index":39}},
28 "expression": {
29 "type": "ArrowFunctionExpression",
30 "start":19,"end":38,"loc":{"start":{"line":2,"column":2,"index":19},"end":{"line":2,"column":21,"index":38}},
31 "id": null,
32 "generator": false,
33 "async": false,
34 "params": [],
35 "body": {
36 "type": "ArrowFunctionExpression",
37 "start":25,"end":38,"loc":{"start":{"line":2,"column":8,"index":25},"end":{"line":2,"column":21,"index":38}},
38 "id": null,
39 "generator": false,
40 "async": false,
41 "params": [
42 {
43 "type": "Identifier",
44 "start":26,"end":31,"loc":{"start":{"line":2,"column":9,"index":26},"end":{"line":2,"column":14,"index":31},"identifierName":"yield"},
45 "name": "yield"
46 }
47 ],
48 "body": {
49 "type": "BlockStatement",
50 "start":36,"end":38,"loc":{"start":{"line":2,"column":19,"index":36},"end":{"line":2,"column":21,"index":38}},
51 "body": [],
52 "directives": []
53 }
54 }
55 }
56 }
57 ],
58 "directives": []
59 }
60 }
61 ],
62 "directives": []
63 }
64 }