Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/class-properties/await-in-property-in-params-of-async-arrow/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
16 "id": null,
17 "generator": false,
18 "async": true,
19 "params": [
20 {
21 "type": "AssignmentPattern",
22 "start":7,"end":30,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":30,"index":30}},
23 "left": {
24 "type": "Identifier",
25 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"x"},
26 "name": "x"
27 },
28 "right": {
29 "type": "ClassExpression",
30 "start":11,"end":30,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":30,"index":30}},
31 "id": null,
32 "superClass": null,
33 "body": {
34 "type": "ClassBody",
35 "start":17,"end":30,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":30,"index":30}},
36 "body": [
37 {
38 "type": "ClassProperty",
39 "start":19,"end":28,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":28,"index":28}},
40 "static": false,
41 "key": {
42 "type": "Identifier",
43 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"x"},
44 "name": "x"
45 },
46 "computed": false,
47 "value": {
48 "type": "Identifier",
49 "start":23,"end":28,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":28,"index":28},"identifierName":"await"},
50 "name": "await"
51 }
52 }
53 ]
54 }
55 }
56 }
57 ],
58 "body": {
59 "type": "BlockStatement",
60 "start":35,"end":37,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":37,"index":37}},
61 "body": [],
62 "directives": []
63 }
64 }
65 }
66 ],
67 "directives": []
68 }
69 }