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