Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/top-level-await-unambiguous/ambiguous-script/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":65,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":12,"index":65}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":65,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":12,"index":65}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
13 "expression": {
14 "type": "Identifier",
15 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"await"},
16 "name": "await"
17 }
18 },
19 {
20 "type": "ExpressionStatement",
21 "start":6,"end":7,"loc":{"start":{"line":2,"column":0,"index":6},"end":{"line":2,"column":1,"index":7}},
22 "expression": {
23 "type": "NumericLiteral",
24 "start":6,"end":7,"loc":{"start":{"line":2,"column":0,"index":6},"end":{"line":2,"column":1,"index":7}},
25 "extra": {
26 "rawValue": 0,
27 "raw": "0"
28 },
29 "value": 0
30 }
31 },
32 {
33 "type": "ExpressionStatement",
34 "start":9,"end":18,"loc":{"start":{"line":4,"column":0,"index":9},"end":{"line":4,"column":9,"index":18}},
35 "expression": {
36 "type": "BinaryExpression",
37 "start":9,"end":18,"loc":{"start":{"line":4,"column":0,"index":9},"end":{"line":4,"column":9,"index":18}},
38 "left": {
39 "type": "Identifier",
40 "start":9,"end":14,"loc":{"start":{"line":4,"column":0,"index":9},"end":{"line":4,"column":5,"index":14},"identifierName":"await"},
41 "name": "await"
42 },
43 "operator": "+",
44 "right": {
45 "type": "NumericLiteral",
46 "start":17,"end":18,"loc":{"start":{"line":4,"column":8,"index":17},"end":{"line":4,"column":9,"index":18}},
47 "extra": {
48 "rawValue": 0,
49 "raw": "0"
50 },
51 "value": 0
52 }
53 }
54 },
55 {
56 "type": "ExpressionStatement",
57 "start":19,"end":28,"loc":{"start":{"line":5,"column":0,"index":19},"end":{"line":5,"column":9,"index":28}},
58 "expression": {
59 "type": "BinaryExpression",
60 "start":19,"end":28,"loc":{"start":{"line":5,"column":0,"index":19},"end":{"line":5,"column":9,"index":28}},
61 "left": {
62 "type": "Identifier",
63 "start":19,"end":24,"loc":{"start":{"line":5,"column":0,"index":19},"end":{"line":5,"column":5,"index":24},"identifierName":"await"},
64 "name": "await"
65 },
66 "operator": "-",
67 "right": {
68 "type": "NumericLiteral",
69 "start":27,"end":28,"loc":{"start":{"line":5,"column":8,"index":27},"end":{"line":5,"column":9,"index":28}},
70 "extra": {
71 "rawValue": 0,
72 "raw": "0"
73 },
74 "value": 0
75 }
76 }
77 },
78 {
79 "type": "ExpressionStatement",
80 "start":29,"end":40,"loc":{"start":{"line":6,"column":0,"index":29},"end":{"line":6,"column":11,"index":40}},
81 "expression": {
82 "type": "CallExpression",
83 "start":29,"end":40,"loc":{"start":{"line":6,"column":0,"index":29},"end":{"line":6,"column":11,"index":40}},
84 "callee": {
85 "type": "Identifier",
86 "start":29,"end":34,"loc":{"start":{"line":6,"column":0,"index":29},"end":{"line":6,"column":5,"index":34},"identifierName":"await"},
87 "name": "await"
88 },
89 "arguments": [
90 {
91 "type": "NumericLiteral",
92 "start":37,"end":38,"loc":{"start":{"line":6,"column":8,"index":37},"end":{"line":6,"column":9,"index":38}},
93 "extra": {
94 "rawValue": 0,
95 "raw": "0"
96 },
97 "value": 0
98 }
99 ]
100 }
101 },
102 {
103 "type": "ExpressionStatement",
104 "start":41,"end":52,"loc":{"start":{"line":7,"column":0,"index":41},"end":{"line":7,"column":11,"index":52}},
105 "expression": {
106 "type": "MemberExpression",
107 "start":41,"end":52,"loc":{"start":{"line":7,"column":0,"index":41},"end":{"line":7,"column":11,"index":52}},
108 "object": {
109 "type": "Identifier",
110 "start":41,"end":46,"loc":{"start":{"line":7,"column":0,"index":41},"end":{"line":7,"column":5,"index":46},"identifierName":"await"},
111 "name": "await"
112 },
113 "computed": true,
114 "property": {
115 "type": "NumericLiteral",
116 "start":49,"end":50,"loc":{"start":{"line":7,"column":8,"index":49},"end":{"line":7,"column":9,"index":50}},
117 "extra": {
118 "rawValue": 0,
119 "raw": "0"
120 },
121 "value": 0
122 }
123 }
124 },
125 {
126 "type": "ExpressionStatement",
127 "start":53,"end":65,"loc":{"start":{"line":8,"column":0,"index":53},"end":{"line":8,"column":12,"index":65}},
128 "expression": {
129 "type": "BinaryExpression",
130 "start":53,"end":65,"loc":{"start":{"line":8,"column":0,"index":53},"end":{"line":8,"column":12,"index":65}},
131 "left": {
132 "type": "BinaryExpression",
133 "start":53,"end":62,"loc":{"start":{"line":8,"column":0,"index":53},"end":{"line":8,"column":9,"index":62}},
134 "left": {
135 "type": "Identifier",
136 "start":53,"end":58,"loc":{"start":{"line":8,"column":0,"index":53},"end":{"line":8,"column":5,"index":58},"identifierName":"await"},
137 "name": "await"
138 },
139 "operator": "/",
140 "right": {
141 "type": "NumericLiteral",
142 "start":61,"end":62,"loc":{"start":{"line":8,"column":8,"index":61},"end":{"line":8,"column":9,"index":62}},
143 "extra": {
144 "rawValue": 0,
145 "raw": "0"
146 },
147 "value": 0
148 }
149 },
150 "operator": "/",
151 "right": {
152 "type": "Identifier",
153 "start":64,"end":65,"loc":{"start":{"line":8,"column":11,"index":64},"end":{"line":8,"column":12,"index":65},"identifierName":"u"},
154 "name": "u"
155 }
156 }
157 }
158 ],
159 "directives": []
160 }
161 }