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