Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
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":35,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":35,"index":35}},
24 "body": [
25 {
26 "type": "ExpressionStatement",
27 "start":16,"end":33,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":33,"index":33}},
28 "expression": {
29 "type": "ArrowFunctionExpression",
30 "start":16,"end":32,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":32,"index":32}},
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":"x"},
38 "name": "x"
39 }
40 ],
41 "body": {
42 "type": "BinaryExpression",
43 "start":23,"end":32,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":32,"index":32}},
44 "left": {
45 "type": "Identifier",
46 "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"x"},
47 "name": "x"
48 },
49 "operator": "*",
50 "right": {
51 "type": "Identifier",
52 "start":27,"end":32,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":32,"index":32},"identifierName":"yield"},
53 "name": "yield"
54 }
55 }
56 }
57 }
58 ],
59 "directives": []
60 }
61 }
62 ],
63 "directives": []
64 }
65 }