Debian Codegraph @

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

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