Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":37,"index":72}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":37,"index":72}},
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 "trailingComments": [
27 {
28 "type": "CommentLine",
29 "value": " await in body is allowed",
30 "start":7,"end":34,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":27,"index":34}}
31 }
32 ]
33 },
34 {
35 "type": "ExpressionStatement",
36 "start":35,"end":72,"loc":{"start":{"line":3,"column":0,"index":35},"end":{"line":3,"column":37,"index":72}},
37 "expression": {
38 "type": "AssignmentExpression",
39 "start":35,"end":71,"loc":{"start":{"line":3,"column":0,"index":35},"end":{"line":3,"column":36,"index":71}},
40 "operator": "=",
41 "left": {
42 "type": "Identifier",
43 "start":35,"end":36,"loc":{"start":{"line":3,"column":0,"index":35},"end":{"line":3,"column":1,"index":36},"identifierName":"C"},
44 "name": "C"
45 },
46 "right": {
47 "type": "ClassExpression",
48 "start":39,"end":71,"loc":{"start":{"line":3,"column":4,"index":39},"end":{"line":3,"column":36,"index":71}},
49 "id": null,
50 "superClass": null,
51 "body": {
52 "type": "ClassBody",
53 "start":45,"end":71,"loc":{"start":{"line":3,"column":10,"index":45},"end":{"line":3,"column":36,"index":71}},
54 "body": [
55 {
56 "type": "StaticBlock",
57 "start":47,"end":69,"loc":{"start":{"line":3,"column":12,"index":47},"end":{"line":3,"column":34,"index":69}},
58 "body": [
59 {
60 "type": "ExpressionStatement",
61 "start":56,"end":67,"loc":{"start":{"line":3,"column":21,"index":56},"end":{"line":3,"column":32,"index":67}},
62 "expression": {
63 "type": "ArrowFunctionExpression",
64 "start":56,"end":67,"loc":{"start":{"line":3,"column":21,"index":56},"end":{"line":3,"column":32,"index":67}},
65 "id": null,
66 "generator": false,
67 "async": false,
68 "params": [],
69 "body": {
70 "type": "Identifier",
71 "start":62,"end":67,"loc":{"start":{"line":3,"column":27,"index":62},"end":{"line":3,"column":32,"index":67},"identifierName":"await"},
72 "name": "await"
73 }
74 }
75 }
76 ]
77 }
78 ]
79 }
80 }
81 },
82 "leadingComments": [
83 {
84 "type": "CommentLine",
85 "value": " await in body is allowed",
86 "start":7,"end":34,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":27,"index":34}}
87 }
88 ]
89 }
90 ],
91 "directives": []
92 },
93 "comments": [
94 {
95 "type": "CommentLine",
96 "value": " await in body is allowed",
97 "start":7,"end":34,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":27,"index":34}}
98 }
99 ]
100 }