Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/function-name-function-expression/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
13 "expression": {
14 "type": "UnaryExpression",
15 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
16 "operator": "+",
17 "prefix": true,
18 "argument": {
19 "type": "FunctionExpression",
20 "start":1,"end":20,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":20,"index":20}},
21 "id": {
22 "type": "Identifier",
23 "start":10,"end":15,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":15,"index":15},"identifierName":"yield"},
24 "name": "yield"
25 },
26 "generator": false,
27 "async": false,
28 "params": [],
29 "body": {
30 "type": "BlockStatement",
31 "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20}},
32 "body": [],
33 "directives": []
34 }
35 }
36 }
37 }
38 ],
39 "directives": []
40 }
41 }