Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/class-static-block/await-binding-in-initializer-in-static-block/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":47,"index":55}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":47,"index":55}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"C"},
20 "name": "C"
21 },
22 "init": null
23 }
24 ],
25 "kind": "var"
26 },
27 {
28 "type": "ExpressionStatement",
29 "start":8,"end":55,"loc":{"start":{"line":3,"column":0,"index":8},"end":{"line":3,"column":47,"index":55}},
30 "expression": {
31 "type": "AssignmentExpression",
32 "start":8,"end":54,"loc":{"start":{"line":3,"column":0,"index":8},"end":{"line":3,"column":46,"index":54}},
33 "operator": "=",
34 "left": {
35 "type": "Identifier",
36 "start":8,"end":9,"loc":{"start":{"line":3,"column":0,"index":8},"end":{"line":3,"column":1,"index":9},"identifierName":"C"},
37 "name": "C"
38 },
39 "right": {
40 "type": "ClassExpression",
41 "start":12,"end":54,"loc":{"start":{"line":3,"column":4,"index":12},"end":{"line":3,"column":46,"index":54}},
42 "id": null,
43 "superClass": null,
44 "body": {
45 "type": "ClassBody",
46 "start":18,"end":54,"loc":{"start":{"line":3,"column":10,"index":18},"end":{"line":3,"column":46,"index":54}},
47 "body": [
48 {
49 "type": "StaticBlock",
50 "start":20,"end":52,"loc":{"start":{"line":3,"column":12,"index":20},"end":{"line":3,"column":44,"index":52}},
51 "body": [
52 {
53 "type": "ClassDeclaration",
54 "start":29,"end":50,"loc":{"start":{"line":3,"column":21,"index":29},"end":{"line":3,"column":42,"index":50}},
55 "id": {
56 "type": "Identifier",
57 "start":35,"end":36,"loc":{"start":{"line":3,"column":27,"index":35},"end":{"line":3,"column":28,"index":36},"identifierName":"D"},
58 "name": "D"
59 },
60 "superClass": null,
61 "body": {
62 "type": "ClassBody",
63 "start":37,"end":50,"loc":{"start":{"line":3,"column":29,"index":37},"end":{"line":3,"column":42,"index":50}},
64 "body": [
65 {
66 "type": "ClassProperty",
67 "start":39,"end":48,"loc":{"start":{"line":3,"column":31,"index":39},"end":{"line":3,"column":40,"index":48}},
68 "static": false,
69 "key": {
70 "type": "Identifier",
71 "start":39,"end":40,"loc":{"start":{"line":3,"column":31,"index":39},"end":{"line":3,"column":32,"index":40},"identifierName":"x"},
72 "name": "x"
73 },
74 "computed": false,
75 "value": {
76 "type": "Identifier",
77 "start":43,"end":48,"loc":{"start":{"line":3,"column":35,"index":43},"end":{"line":3,"column":40,"index":48},"identifierName":"await"},
78 "name": "await"
79 }
80 }
81 ]
82 }
83 }
84 ]
85 }
86 ]
87 }
88 }
89 }
90 }
91 ],
92 "directives": []
93 }
94 }