Debian Codegraph @

tests/fixtures/ecma-version/11/nullish-coalescing/qq-with-bitwise-or.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 14
11 }
12 },
13 "range": [
14 0,
15 14
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 14
28 }
29 },
30 "range": [
31 0,
32 14
33 ],
34 "expression": {
35 "type": "LogicalExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 14
44 }
45 },
46 "range": [
47 0,
48 14
49 ],
50 "left": {
51 "type": "BinaryExpression",
52 "loc": {
53 "start": {
54 "line": 1,
55 "column": 0
56 },
57 "end": {
58 "line": 1,
59 "column": 5
60 }
61 },
62 "range": [
63 0,
64 5
65 ],
66 "left": {
67 "type": "Identifier",
68 "loc": {
69 "start": {
70 "line": 1,
71 "column": 0
72 },
73 "end": {
74 "line": 1,
75 "column": 1
76 }
77 },
78 "range": [
79 0,
80 1
81 ],
82 "name": "a"
83 },
84 "operator": "|",
85 "right": {
86 "type": "Identifier",
87 "loc": {
88 "start": {
89 "line": 1,
90 "column": 4
91 },
92 "end": {
93 "line": 1,
94 "column": 5
95 }
96 },
97 "range": [
98 4,
99 5
100 ],
101 "name": "b"
102 }
103 },
104 "operator": "??",
105 "right": {
106 "type": "BinaryExpression",
107 "loc": {
108 "start": {
109 "line": 1,
110 "column": 9
111 },
112 "end": {
113 "line": 1,
114 "column": 14
115 }
116 },
117 "range": [
118 9,
119 14
120 ],
121 "left": {
122 "type": "Identifier",
123 "loc": {
124 "start": {
125 "line": 1,
126 "column": 9
127 },
128 "end": {
129 "line": 1,
130 "column": 10
131 }
132 },
133 "range": [
134 9,
135 10
136 ],
137 "name": "c"
138 },
139 "operator": "|",
140 "right": {
141 "type": "Identifier",
142 "loc": {
143 "start": {
144 "line": 1,
145 "column": 13
146 },
147 "end": {
148 "line": 1,
149 "column": 14
150 }
151 },
152 "range": [
153 13,
154 14
155 ],
156 "name": "d"
157 }
158 }
159 }
160 }
161 ],
162 "sourceType": "script",
163 "tokens": [
164 {
165 "type": "Identifier",
166 "value": "a",
167 "loc": {
168 "start": {
169 "line": 1,
170 "column": 0
171 },
172 "end": {
173 "line": 1,
174 "column": 1
175 }
176 },
177 "range": [
178 0,
179 1
180 ]
181 },
182 {
183 "type": "Punctuator",
184 "value": "|",
185 "loc": {
186 "start": {
187 "line": 1,
188 "column": 2
189 },
190 "end": {
191 "line": 1,
192 "column": 3
193 }
194 },
195 "range": [
196 2,
197 3
198 ]
199 },
200 {
201 "type": "Identifier",
202 "value": "b",
203 "loc": {
204 "start": {
205 "line": 1,
206 "column": 4
207 },
208 "end": {
209 "line": 1,
210 "column": 5
211 }
212 },
213 "range": [
214 4,
215 5
216 ]
217 },
218 {
219 "type": "Punctuator",
220 "value": "??",
221 "loc": {
222 "start": {
223 "line": 1,
224 "column": 6
225 },
226 "end": {
227 "line": 1,
228 "column": 8
229 }
230 },
231 "range": [
232 6,
233 8
234 ]
235 },
236 {
237 "type": "Identifier",
238 "value": "c",
239 "loc": {
240 "start": {
241 "line": 1,
242 "column": 9
243 },
244 "end": {
245 "line": 1,
246 "column": 10
247 }
248 },
249 "range": [
250 9,
251 10
252 ]
253 },
254 {
255 "type": "Punctuator",
256 "value": "|",
257 "loc": {
258 "start": {
259 "line": 1,
260 "column": 11
261 },
262 "end": {
263 "line": 1,
264 "column": 12
265 }
266 },
267 "range": [
268 11,
269 12
270 ]
271 },
272 {
273 "type": "Identifier",
274 "value": "d",
275 "loc": {
276 "start": {
277 "line": 1,
278 "column": 13
279 },
280 "end": {
281 "line": 1,
282 "column": 14
283 }
284 },
285 "range": [
286 13,
287 14
288 ]
289 }
290 ]
291 };