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