Debian Codegraph @

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

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