Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-function/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
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":"fn"},
16 "name": "fn"
17 },
18 "generator": false,
19 "async": false,
20 "params": [
21 {
22 "type": "AssignmentPattern",
23 "start":12,"end":28,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":28,"index":28}},
24 "left": {
25 "type": "Identifier",
26 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"x"},
27 "name": "x"
28 },
29 "right": {
30 "type": "BinaryExpression",
31 "start":16,"end":28,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":28,"index":28}},
32 "left": {
33 "type": "Identifier",
34 "start":16,"end":21,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":21,"index":21},"identifierName":"yield"},
35 "name": "yield"
36 },
37 "operator": "*",
38 "right": {
39 "type": "Identifier",
40 "start":23,"end":28,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":28,"index":28},"identifierName":"yield"},
41 "name": "yield"
42 }
43 }
44 }
45 ],
46 "body": {
47 "type": "BlockStatement",
48 "start":30,"end":32,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":32,"index":32}},
49 "body": [],
50 "directives": []
51 }
52 }
53 ],
54 "directives": []
55 }
56 }