Debian Codegraph @

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

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