1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ExpressionStatement", 6 "expression": { 7 "type": "ImportExpression", 8 "source": { 9 "type": "StringLiteral", 10 "value": "test", 11 "loc": { 12 "start": { 13 "line": 17, 14 "column": 8 15 }, 16 "end": { 17 "line": 17, 18 "column": 14 19 } 20 } 21 }, 22 "importAssertion": { 23 "type": "ObjectExpression", 24 "properties": [ 25 { 26 "type": "Property", 27 "method": false, 28 "shorthand": false, 29 "computed": false, 30 "key": { 31 "type": "Identifier", 32 "name": "assert", 33 "loc": { 34 "start": { 35 "line": 17, 36 "column": 18 37 }, 38 "end": { 39 "line": 17, 40 "column": 24 41 } 42 } 43 }, 44 "value": { 45 "type": "ObjectExpression", 46 "properties": [ 47 { 48 "type": "Property", 49 "method": false, 50 "shorthand": false, 51 "computed": false, 52 "key": { 53 "type": "Identifier", 54 "name": "k1", 55 "loc": { 56 "start": { 57 "line": 17, 58 "column": 28 59 }, 60 "end": { 61 "line": 17, 62 "column": 30 63 } 64 } 65 }, 66 "value": { 67 "type": "StringLiteral", 68 "value": "json", 69 "loc": { 70 "start": { 71 "line": 17, 72 "column": 32 73 }, 74 "end": { 75 "line": 17, 76 "column": 38 77 } 78 } 79 }, 80 "kind": "init", 81 "loc": { 82 "start": { 83 "line": 17, 84 "column": 28 85 }, 86 "end": { 87 "line": 17, 88 "column": 38 89 } 90 } 91 }, 92 { 93 "type": "Property", 94 "method": false, 95 "shorthand": false, 96 "computed": false, 97 "key": { 98 "type": "StringLiteral", 99 "value": "k2", 100 "loc": { 101 "start": { 102 "line": 17, 103 "column": 40 104 }, 105 "end": { 106 "line": 17, 107 "column": 44 108 } 109 } 110 }, 111 "value": { 112 "type": "StringLiteral", 113 "value": "v1", 114 "loc": { 115 "start": { 116 "line": 17, 117 "column": 46 118 }, 119 "end": { 120 "line": 17, 121 "column": 50 122 } 123 } 124 }, 125 "kind": "init", 126 "loc": { 127 "start": { 128 "line": 17, 129 "column": 40 130 }, 131 "end": { 132 "line": 17, 133 "column": 50 134 } 135 } 136 }, 137 { 138 "type": "Property", 139 "method": false, 140 "shorthand": false, 141 "computed": false, 142 "key": { 143 "type": "NumberLiteral", 144 "value": 3, 145 "loc": { 146 "start": { 147 "line": 18, 148 "column": 28 149 }, 150 "end": { 151 "line": 18, 152 "column": 29 153 } 154 } 155 }, 156 "value": { 157 "type": "StringLiteral", 158 "value": "k3", 159 "loc": { 160 "start": { 161 "line": 18, 162 "column": 31 163 }, 164 "end": { 165 "line": 18, 166 "column": 35 167 } 168 } 169 }, 170 "kind": "init", 171 "loc": { 172 "start": { 173 "line": 18, 174 "column": 28 175 }, 176 "end": { 177 "line": 18, 178 "column": 35 179 } 180 } 181 }, 182 { 183 "type": "Property", 184 "method": false, 185 "shorthand": false, 186 "computed": false, 187 "key": { 188 "type": "Identifier", 189 "name": "k4", 190 "loc": { 191 "start": { 192 "line": 19, 193 "column": 28 194 }, 195 "end": { 196 "line": 19, 197 "column": 30 198 } 199 } 200 }, 201 "value": { 202 "type": "StringLiteral", 203 "value": "xxx", 204 "loc": { 205 "start": { 206 "line": 19, 207 "column": 32 208 }, 209 "end": { 210 "line": 19, 211 "column": 37 212 } 213 } 214 }, 215 "kind": "init", 216 "loc": { 217 "start": { 218 "line": 19, 219 "column": 28 220 }, 221 "end": { 222 "line": 19, 223 "column": 37 224 } 225 } 226 }, 227 { 228 "type": "Property", 229 "method": false, 230 "shorthand": false, 231 "computed": false, 232 "key": { 233 "type": "Identifier", 234 "name": "type", 235 "loc": { 236 "start": { 237 "line": 20, 238 "column": 28 239 }, 240 "end": { 241 "line": 20, 242 "column": 32 243 } 244 } 245 }, 246 "value": { 247 "type": "TemplateLiteral", 248 "expressions": [], 249 "quasis": [ 250 { 251 "type": "TemplateElement", 252 "value": { 253 "raw": "xx", 254 "cooked": "xx" 255 }, 256 "loc": { 257 "start": { 258 "line": 20, 259 "column": 35 260 }, 261 "end": { 262 "line": 20, 263 "column": 37 264 } 265 } 266 } 267 ], 268 "loc": { 269 "start": { 270 "line": 20, 271 "column": 34 272 }, 273 "end": { 274 "line": 20, 275 "column": 38 276 } 277 } 278 }, 279 "kind": "init", 280 "loc": { 281 "start": { 282 "line": 20, 283 "column": 28 284 }, 285 "end": { 286 "line": 20, 287 "column": 38 288 } 289 } 290 }, 291 { 292 "type": "Property", 293 "method": false, 294 "shorthand": false, 295 "computed": false, 296 "key": { 297 "type": "Identifier", 298 "name": "k6", 299 "loc": { 300 "start": { 301 "line": 20, 302 "column": 40 303 }, 304 "end": { 305 "line": 20, 306 "column": 42 307 } 308 } 309 }, 310 "value": { 311 "type": "StringLiteral", 312 "value": "", 313 "loc": { 314 "start": { 315 "line": 20, 316 "column": 44 317 }, 318 "end": { 319 "line": 20, 320 "column": 46 321 } 322 } 323 }, 324 "kind": "init", 325 "loc": { 326 "start": { 327 "line": 20, 328 "column": 40 329 }, 330 "end": { 331 "line": 20, 332 "column": 46 333 } 334 } 335 }, 336 { 337 "type": "Property", 338 "method": false, 339 "shorthand": false, 340 "computed": true, 341 "key": { 342 "type": "NumberLiteral", 343 "value": 1, 344 "loc": { 345 "start": { 346 "line": 20, 347 "column": 49 348 }, 349 "end": { 350 "line": 20, 351 "column": 50 352 } 353 } 354 }, 355 "value": { 356 "type": "StringLiteral", 357 "value": "xxx", 358 "loc": { 359 "start": { 360 "line": 20, 361 "column": 53 362 }, 363 "end": { 364 "line": 20, 365 "column": 58 366 } 367 } 368 }, 369 "kind": "init", 370 "loc": { 371 "start": { 372 "line": 20, 373 "column": 48 374 }, 375 "end": { 376 "line": 20, 377 "column": 58 378 } 379 } 380 } 381 ], 382 "loc": { 383 "start": { 384 "line": 17, 385 "column": 26 386 }, 387 "end": { 388 "line": 20, 389 "column": 60 390 } 391 } 392 }, 393 "kind": "init", 394 "loc": { 395 "start": { 396 "line": 17, 397 "column": 18 398 }, 399 "end": { 400 "line": 20, 401 "column": 60 402 } 403 } 404 } 405 ], 406 "loc": { 407 "start": { 408 "line": 17, 409 "column": 16 410 }, 411 "end": { 412 "line": 20, 413 "column": 61 414 } 415 } 416 }, 417 "loc": { 418 "start": { 419 "line": 17, 420 "column": 1 421 }, 422 "end": { 423 "line": 20, 424 "column": 62 425 } 426 } 427 }, 428 "loc": { 429 "start": { 430 "line": 17, 431 "column": 1 432 }, 433 "end": { 434 "line": 20, 435 "column": 63 436 } 437 } 438 } 439 ], 440 "loc": { 441 "start": { 442 "line": 1, 443 "column": 1 444 }, 445 "end": { 446 "line": 21, 447 "column": 1 448 } 449 } 450} 451