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