Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-generator-arrow-function-body/output.json

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