Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/yield-star-inside-generator-function-expression/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": "ExpressionStatement",
12 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
13 "expression": {
14 "type": "FunctionExpression",
15 "start":1,"end":26,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":26,"index":26}},
16 "id": null,
17 "generator": true,
18 "async": false,
19 "params": [],
20 "body": {
21 "type": "BlockStatement",
22 "start":14,"end":26,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":26,"index":26}},
23 "body": [
24 {
25 "type": "ExpressionStatement",
26 "start":16,"end":24,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":24,"index":24}},
27 "expression": {
28 "type": "YieldExpression",
29 "start":16,"end":24,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":24,"index":24}},
30 "delegate": true,
31 "argument": {
32 "type": "Identifier",
33 "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"v"},
34 "name": "v"
35 }
36 }
37 }
38 ],
39 "directives": []
40 },
41 "extra": {
42 "parenthesized": true,
43 "parenStart": 0
44 }
45 }
46 }
47 ],
48 "directives": []
49 }
50 }