Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
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":41,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":41}},
22 "body": [
23 {
24 "type": "ClassProperty",
25 "start":12,"end":39,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":29,"index":39}},
26 "static": false,
27 "key": {
28 "type": "Identifier",
29 "start":12,"end":13,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":3,"index":13},"identifierName":"p"},
30 "name": "p"
31 },
32 "computed": false,
33 "value": {
34 "type": "ArrowFunctionExpression",
35 "start":16,"end":38,"loc":{"start":{"line":2,"column":6,"index":16},"end":{"line":2,"column":28,"index":38}},
36 "id": null,
37 "generator": false,
38 "async": true,
39 "params": [],
40 "body": {
41 "type": "AwaitExpression",
42 "start":28,"end":38,"loc":{"start":{"line":2,"column":18,"index":28},"end":{"line":2,"column":28,"index":38}},
43 "argument": {
44 "type": "UnaryExpression",
45 "start":34,"end":38,"loc":{"start":{"line":2,"column":24,"index":34},"end":{"line":2,"column":28,"index":38}},
46 "operator": "+",
47 "prefix": true,
48 "argument": {
49 "type": "NumericLiteral",
50 "start":36,"end":38,"loc":{"start":{"line":2,"column":26,"index":36},"end":{"line":2,"column":28,"index":38}},
51 "extra": {
52 "rawValue": 42,
53 "raw": "42"
54 },
55 "value": 42
56 }
57 }
58 }
59 }
60 }
61 ]
62 }
63 }
64 ],
65 "directives": []
66 }
67 }