Debian Codegraph @

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

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