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": "TestFunction", 124 "decorators": [], 125 "loc": { 126 "start": { 127 "line": 16, 128 "column": 10 129 }, 130 "end": { 131 "line": 16, 132 "column": 22 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": "TestFunction", 148 "decorators": [], 149 "loc": { 150 "start": { 151 "line": 16, 152 "column": 10 153 }, 154 "end": { 155 "line": 16, 156 "column": 22 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": 26 170 }, 171 "end": { 172 "line": 16, 173 "column": 30 174 } 175 } 176 }, 177 "body": { 178 "type": "BlockStatement", 179 "statements": [ 180 { 181 "type": "ThrowStatement", 182 "argument": { 183 "type": "ETSNewClassInstanceExpression", 184 "typeReference": { 185 "type": "ETSTypeReference", 186 "part": { 187 "type": "ETSTypeReferencePart", 188 "name": { 189 "type": "Identifier", 190 "name": "Exception", 191 "decorators": [], 192 "loc": { 193 "start": { 194 "line": 17, 195 "column": 13 196 }, 197 "end": { 198 "line": 17, 199 "column": 22 200 } 201 } 202 }, 203 "loc": { 204 "start": { 205 "line": 17, 206 "column": 13 207 }, 208 "end": { 209 "line": 17, 210 "column": 23 211 } 212 } 213 }, 214 "loc": { 215 "start": { 216 "line": 17, 217 "column": 13 218 }, 219 "end": { 220 "line": 17, 221 "column": 23 222 } 223 } 224 }, 225 "arguments": [], 226 "loc": { 227 "start": { 228 "line": 17, 229 "column": 9 230 }, 231 "end": { 232 "line": 17, 233 "column": 25 234 } 235 } 236 }, 237 "loc": { 238 "start": { 239 "line": 17, 240 "column": 3 241 }, 242 "end": { 243 "line": 17, 244 "column": 25 245 } 246 } 247 } 248 ], 249 "loc": { 250 "start": { 251 "line": 16, 252 "column": 38 253 }, 254 "end": { 255 "line": 18, 256 "column": 2 257 } 258 } 259 } 260 "throwMarker": "throws", 261 "loc": { 262 "start": { 263 "line": 16, 264 "column": 22 265 }, 266 "end": { 267 "line": 18, 268 "column": 2 269 } 270 } 271 }, 272 "loc": { 273 "start": { 274 "line": 16, 275 "column": 22 276 }, 277 "end": { 278 "line": 18, 279 "column": 2 280 } 281 } 282 }, 283 "overloads": [], 284 "decorators": [], 285 "loc": { 286 "start": { 287 "line": 16, 288 "column": 1 289 }, 290 "end": { 291 "line": 18, 292 "column": 2 293 } 294 } 295 } 296 ], 297 "loc": { 298 "start": { 299 "line": 1, 300 "column": 1 301 }, 302 "end": { 303 "line": 1, 304 "column": 1 305 } 306 } 307 }, 308 "loc": { 309 "start": { 310 "line": 1, 311 "column": 1 312 }, 313 "end": { 314 "line": 1, 315 "column": 1 316 } 317 } 318 } 319 ], 320 "loc": { 321 "start": { 322 "line": 1, 323 "column": 1 324 }, 325 "end": { 326 "line": 19, 327 "column": 1 328 } 329 } 330} 331