Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/yield-star-inside-plain-function/output.json

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