Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/function-name-generator-wrapped/output.json

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