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