Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":52}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":52}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":52}},
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":52,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":4,"column":1,"index":52}},
24 "body": [
25 {
26 "type": "ExpressionStatement",
27 "start":19,"end":31,"loc":{"start":{"line":2,"column":2,"index":19},"end":{"line":2,"column":14,"index":31}},
28 "expression": {
29 "type": "ArrowFunctionExpression",
30 "start":19,"end":30,"loc":{"start":{"line":2,"column":2,"index":19},"end":{"line":2,"column":13,"index":30}},
31 "id": null,
32 "generator": false,
33 "async": false,
34 "params": [],
35 "body": {
36 "type": "Identifier",
37 "start":25,"end":30,"loc":{"start":{"line":2,"column":8,"index":25},"end":{"line":2,"column":13,"index":30},"identifierName":"yield"},
38 "name": "yield"
39 }
40 }
41 },
42 {
43 "type": "ExpressionStatement",
44 "start":34,"end":50,"loc":{"start":{"line":3,"column":2,"index":34},"end":{"line":3,"column":18,"index":50}},
45 "expression": {
46 "type": "ArrowFunctionExpression",
47 "start":34,"end":49,"loc":{"start":{"line":3,"column":2,"index":34},"end":{"line":3,"column":17,"index":49}},
48 "id": null,
49 "generator": false,
50 "async": false,
51 "params": [],
52 "body": {
53 "type": "BlockStatement",
54 "start":40,"end":49,"loc":{"start":{"line":3,"column":8,"index":40},"end":{"line":3,"column":17,"index":49}},
55 "body": [
56 {
57 "type": "ExpressionStatement",
58 "start":42,"end":47,"loc":{"start":{"line":3,"column":10,"index":42},"end":{"line":3,"column":15,"index":47}},
59 "expression": {
60 "type": "Identifier",
61 "start":42,"end":47,"loc":{"start":{"line":3,"column":10,"index":42},"end":{"line":3,"column":15,"index":47},"identifierName":"yield"},
62 "name": "yield"
63 }
64 }
65 ],
66 "directives": []
67 }
68 }
69 }
70 ],
71 "directives": []
72 }
73 }
74 ],
75 "directives": []
76 }
77 }