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 "loc": { 74 "start": { 75 "line": 1, 76 "column": 1 77 }, 78 "end": { 79 "line": 1, 80 "column": 1 81 } 82 } 83 }, 84 "loc": { 85 "start": { 86 "line": 1, 87 "column": 1 88 }, 89 "end": { 90 "line": 1, 91 "column": 1 92 } 93 } 94 }, 95 "loc": { 96 "start": { 97 "line": 1, 98 "column": 1 99 }, 100 "end": { 101 "line": 1, 102 "column": 1 103 } 104 } 105 }, 106 "overloads": [], 107 "decorators": [], 108 "loc": { 109 "start": { 110 "line": 1, 111 "column": 1 112 }, 113 "end": { 114 "line": 1, 115 "column": 1 116 } 117 } 118 }, 119 { 120 "type": "MethodDefinition", 121 "key": { 122 "type": "Identifier", 123 "name": "main", 124 "decorators": [], 125 "loc": { 126 "start": { 127 "line": 16, 128 "column": 10 129 }, 130 "end": { 131 "line": 16, 132 "column": 14 133 } 134 } 135 }, 136 "kind": "method", 137 "accessibility": "public", 138 "static": true, 139 "optional": false, 140 "computed": false, 141 "value": { 142 "type": "FunctionExpression", 143 "function": { 144 "type": "ScriptFunction", 145 "id": { 146 "type": "Identifier", 147 "name": "main", 148 "decorators": [], 149 "loc": { 150 "start": { 151 "line": 16, 152 "column": 10 153 }, 154 "end": { 155 "line": 16, 156 "column": 14 157 } 158 } 159 }, 160 "generator": false, 161 "async": false, 162 "expression": false, 163 "params": [], 164 "returnType": { 165 "type": "ETSPrimitiveType", 166 "loc": { 167 "start": { 168 "line": 16, 169 "column": 19 170 }, 171 "end": { 172 "line": 16, 173 "column": 22 174 } 175 } 176 }, 177 "body": { 178 "type": "BlockStatement", 179 "statements": [ 180 { 181 "type": "VariableDeclaration", 182 "declarations": [ 183 { 184 "type": "VariableDeclarator", 185 "id": { 186 "type": "Identifier", 187 "name": "b", 188 "typeAnnotation": { 189 "type": "ETSPrimitiveType", 190 "loc": { 191 "start": { 192 "line": 17, 193 "column": 11 194 }, 195 "end": { 196 "line": 17, 197 "column": 15 198 } 199 } 200 }, 201 "decorators": [], 202 "loc": { 203 "start": { 204 "line": 17, 205 "column": 7 206 }, 207 "end": { 208 "line": 17, 209 "column": 8 210 } 211 } 212 }, 213 "init": { 214 "type": "TSAsExpression", 215 "expression": { 216 "type": "NumberLiteral", 217 "value": -1, 218 "loc": { 219 "start": { 220 "line": 17, 221 "column": 18 222 }, 223 "end": { 224 "line": 17, 225 "column": 20 226 } 227 } 228 }, 229 "typeAnnotation": { 230 "type": "ETSPrimitiveType", 231 "loc": { 232 "start": { 233 "line": 17, 234 "column": 24 235 }, 236 "end": { 237 "line": 17, 238 "column": 28 239 } 240 } 241 }, 242 "loc": { 243 "start": { 244 "line": 17, 245 "column": 18 246 }, 247 "end": { 248 "line": 17, 249 "column": 20 250 } 251 } 252 }, 253 "loc": { 254 "start": { 255 "line": 17, 256 "column": 7 257 }, 258 "end": { 259 "line": 17, 260 "column": 20 261 } 262 } 263 } 264 ], 265 "kind": "let", 266 "loc": { 267 "start": { 268 "line": 17, 269 "column": 3 270 }, 271 "end": { 272 "line": 17, 273 "column": 20 274 } 275 } 276 }, 277 { 278 "type": "ReturnStatement", 279 "argument": { 280 "type": "NumberLiteral", 281 "value": 0, 282 "loc": { 283 "start": { 284 "line": 18, 285 "column": 10 286 }, 287 "end": { 288 "line": 18, 289 "column": 11 290 } 291 } 292 }, 293 "loc": { 294 "start": { 295 "line": 18, 296 "column": 3 297 }, 298 "end": { 299 "line": 18, 300 "column": 11 301 } 302 } 303 } 304 ], 305 "loc": { 306 "start": { 307 "line": 16, 308 "column": 23 309 }, 310 "end": { 311 "line": 19, 312 "column": 2 313 } 314 } 315 }, 316 "loc": { 317 "start": { 318 "line": 16, 319 "column": 10 320 }, 321 "end": { 322 "line": 19, 323 "column": 2 324 } 325 } 326 }, 327 "loc": { 328 "start": { 329 "line": 16, 330 "column": 10 331 }, 332 "end": { 333 "line": 19, 334 "column": 2 335 } 336 } 337 }, 338 "overloads": [], 339 "decorators": [], 340 "loc": { 341 "start": { 342 "line": 16, 343 "column": 1 344 }, 345 "end": { 346 "line": 19, 347 "column": 2 348 } 349 } 350 } 351 ], 352 "loc": { 353 "start": { 354 "line": 1, 355 "column": 1 356 }, 357 "end": { 358 "line": 1, 359 "column": 1 360 } 361 } 362 }, 363 "loc": { 364 "start": { 365 "line": 1, 366 "column": 1 367 }, 368 "end": { 369 "line": 1, 370 "column": 1 371 } 372 } 373 } 374 ], 375 "loc": { 376 "start": { 377 "line": 1, 378 "column": 1 379 }, 380 "end": { 381 "line": 20, 382 "column": 1 383 } 384 } 385} 386