Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-expression-with-params/output.json

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