Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/class-properties/await-identifier-in-computed-property-inside-params-of-function-inside-params-of-async-function/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":53,"index":53}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":53,"index":53}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":53,"index":53}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":53,"index":53}},
16 "id": null,
17 "generator": false,
18 "async": true,
19 "params": [
20 {
21 "type": "AssignmentPattern",
22 "start":7,"end":46,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":46,"index":46}},
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": "FunctionExpression",
30 "start":11,"end":46,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":46,"index":46}},
31 "id": {
32 "type": "Identifier",
33 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"f"},
34 "name": "f"
35 },
36 "generator": false,
37 "async": false,
38 "params": [
39 {
40 "type": "AssignmentPattern",
41 "start":22,"end":43,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":43,"index":43}},
42 "left": {
43 "type": "Identifier",
44 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"x"},
45 "name": "x"
46 },
47 "right": {
48 "type": "ClassExpression",
49 "start":26,"end":43,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":43,"index":43}},
50 "id": null,
51 "superClass": null,
52 "body": {
53 "type": "ClassBody",
54 "start":32,"end":43,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":43,"index":43}},
55 "body": [
56 {
57 "type": "ClassProperty",
58 "start":34,"end":41,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":41,"index":41}},
59 "static": false,
60 "computed": true,
61 "key": {
62 "type": "Identifier",
63 "start":35,"end":40,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":40,"index":40},"identifierName":"await"},
64 "name": "await"
65 },
66 "value": null
67 }
68 ]
69 }
70 }
71 }
72 ],
73 "body": {
74 "type": "BlockStatement",
75 "start":44,"end":46,"loc":{"start":{"line":1,"column":44,"index":44},"end":{"line":1,"column":46,"index":46}},
76 "body": [],
77 "directives": []
78 }
79 }
80 }
81 ],
82 "body": {
83 "type": "BlockStatement",
84 "start":51,"end":53,"loc":{"start":{"line":1,"column":51,"index":51},"end":{"line":1,"column":53,"index":53}},
85 "body": [],
86 "directives": []
87 }
88 }
89 }
90 ],
91 "directives": []
92 }
93 }