Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-concise-body-of-async-arrow-inside-parameters-of-function/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"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":1,"column":39,"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 {
22 "type": "AssignmentPattern",
23 "start":12,"end":35,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":35,"index":35}},
24 "left": {
25 "type": "Identifier",
26 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"x"},
27 "name": "x"
28 },
29 "right": {
30 "type": "ArrowFunctionExpression",
31 "start":16,"end":35,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":35,"index":35}},
32 "id": null,
33 "generator": false,
34 "async": true,
35 "params": [],
36 "body": {
37 "type": "AwaitExpression",
38 "start":28,"end":35,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":35,"index":35}},
39 "argument": {
40 "type": "NumericLiteral",
41 "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35}},
42 "extra": {
43 "rawValue": 1,
44 "raw": "1"
45 },
46 "value": 1
47 }
48 }
49 }
50 }
51 ],
52 "body": {
53 "type": "BlockStatement",
54 "start":37,"end":39,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":39,"index":39}},
55 "body": [],
56 "directives": []
57 }
58 }
59 ],
60 "directives": []
61 }
62 }