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