Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/await-function-expression-name-inside-async-function/output.json

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