| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":782,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":39,"column":1,"index":782}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":782,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":39,"column":1,"index":782}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ClassDeclaration", |
| 12 |
"start":0,"end":782,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":39,"column":1,"index":782}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"Point"}, |
| 16 |
"name": "Point" |
| 17 |
}, |
| 18 |
"superClass": null, |
| 19 |
"body": { |
| 20 |
"type": "ClassBody", |
| 21 |
"start":12,"end":782,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":39,"column":1,"index":782}}, |
| 22 |
"body": [ |
| 23 |
{ |
| 24 |
"type": "ClassPrivateProperty", |
| 25 |
"start":16,"end":23,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":2,"column":9,"index":23}}, |
| 26 |
"static": false, |
| 27 |
"key": { |
| 28 |
"type": "PrivateName", |
| 29 |
"start":16,"end":18,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":2,"column":4,"index":18}}, |
| 30 |
"id": { |
| 31 |
"type": "Identifier", |
| 32 |
"start":17,"end":18,"loc":{"start":{"line":2,"column":3,"index":17},"end":{"line":2,"column":4,"index":18},"identifierName":"x"}, |
| 33 |
"name": "x" |
| 34 |
} |
| 35 |
}, |
| 36 |
"value": { |
| 37 |
"type": "NumericLiteral", |
| 38 |
"start":21,"end":22,"loc":{"start":{"line":2,"column":7,"index":21},"end":{"line":2,"column":8,"index":22}}, |
| 39 |
"extra": { |
| 40 |
"rawValue": 1, |
| 41 |
"raw": "1" |
| 42 |
}, |
| 43 |
"value": 1 |
| 44 |
} |
| 45 |
}, |
| 46 |
{ |
| 47 |
"type": "ClassPrivateProperty", |
| 48 |
"start":26,"end":33,"loc":{"start":{"line":3,"column":2,"index":26},"end":{"line":3,"column":9,"index":33}}, |
| 49 |
"static": false, |
| 50 |
"key": { |
| 51 |
"type": "PrivateName", |
| 52 |
"start":26,"end":28,"loc":{"start":{"line":3,"column":2,"index":26},"end":{"line":3,"column":4,"index":28}}, |
| 53 |
"id": { |
| 54 |
"type": "Identifier", |
| 55 |
"start":27,"end":28,"loc":{"start":{"line":3,"column":3,"index":27},"end":{"line":3,"column":4,"index":28},"identifierName":"y"}, |
| 56 |
"name": "y" |
| 57 |
} |
| 58 |
}, |
| 59 |
"value": { |
| 60 |
"type": "NumericLiteral", |
| 61 |
"start":31,"end":32,"loc":{"start":{"line":3,"column":7,"index":31},"end":{"line":3,"column":8,"index":32}}, |
| 62 |
"extra": { |
| 63 |
"rawValue": 2, |
| 64 |
"raw": "2" |
| 65 |
}, |
| 66 |
"value": 2 |
| 67 |
} |
| 68 |
}, |
| 69 |
{ |
| 70 |
"type": "ClassMethod", |
| 71 |
"start":37,"end":527,"loc":{"start":{"line":5,"column":2,"index":37},"end":{"line":28,"column":3,"index":527}}, |
| 72 |
"static": false, |
| 73 |
"key": { |
| 74 |
"type": "Identifier", |
| 75 |
"start":37,"end":48,"loc":{"start":{"line":5,"column":2,"index":37},"end":{"line":5,"column":13,"index":48},"identifierName":"constructor"}, |
| 76 |
"name": "constructor" |
| 77 |
}, |
| 78 |
"computed": false, |
| 79 |
"kind": "constructor", |
| 80 |
"id": null, |
| 81 |
"generator": false, |
| 82 |
"async": false, |
| 83 |
"params": [ |
| 84 |
{ |
| 85 |
"type": "AssignmentPattern", |
| 86 |
"start":49,"end":54,"loc":{"start":{"line":5,"column":14,"index":49},"end":{"line":5,"column":19,"index":54}}, |
| 87 |
"left": { |
| 88 |
"type": "Identifier", |
| 89 |
"start":49,"end":50,"loc":{"start":{"line":5,"column":14,"index":49},"end":{"line":5,"column":15,"index":50},"identifierName":"x"}, |
| 90 |
"name": "x" |
| 91 |
}, |
| 92 |
"right": { |
| 93 |
"type": "NumericLiteral", |
| 94 |
"start":53,"end":54,"loc":{"start":{"line":5,"column":18,"index":53},"end":{"line":5,"column":19,"index":54}}, |
| 95 |
"extra": { |
| 96 |
"rawValue": 0, |
| 97 |
"raw": "0" |
| 98 |
}, |
| 99 |
"value": 0 |
| 100 |
} |
| 101 |
}, |
| 102 |
{ |
| 103 |
"type": "AssignmentPattern", |
| 104 |
"start":56,"end":61,"loc":{"start":{"line":5,"column":21,"index":56},"end":{"line":5,"column":26,"index":61}}, |
| 105 |
"left": { |
| 106 |
"type": "Identifier", |
| 107 |
"start":56,"end":57,"loc":{"start":{"line":5,"column":21,"index":56},"end":{"line":5,"column":22,"index":57},"identifierName":"y"}, |
| 108 |
"name": "y" |
| 109 |
}, |
| 110 |
"right": { |
| 111 |
"type": "NumericLiteral", |
| 112 |
"start":60,"end":61,"loc":{"start":{"line":5,"column":25,"index":60},"end":{"line":5,"column":26,"index":61}}, |
| 113 |
"extra": { |
| 114 |
"rawValue": 0, |
| 115 |
"raw": "0" |
| 116 |
}, |
| 117 |
"value": 0 |
| 118 |
} |
| 119 |
} |
| 120 |
], |
| 121 |
"body": { |
| 122 |
"type": "BlockStatement", |
| 123 |
"start":63,"end":527,"loc":{"start":{"line":5,"column":28,"index":63},"end":{"line":28,"column":3,"index":527}}, |
| 124 |
"body": [ |
| 125 |
{ |
| 126 |
"type": "ExpressionStatement", |
| 127 |
"start":69,"end":82,"loc":{"start":{"line":6,"column":4,"index":69},"end":{"line":6,"column":17,"index":82}}, |
| 128 |
"expression": { |
| 129 |
"type": "AssignmentExpression", |
| 130 |
"start":69,"end":81,"loc":{"start":{"line":6,"column":4,"index":69},"end":{"line":6,"column":16,"index":81}}, |
| 131 |
"operator": "=", |
| 132 |
"left": { |
| 133 |
"type": "MemberExpression", |
| 134 |
"start":69,"end":76,"loc":{"start":{"line":6,"column":4,"index":69},"end":{"line":6,"column":11,"index":76}}, |
| 135 |
"object": { |
| 136 |
"type": "ThisExpression", |
| 137 |
"start":69,"end":73,"loc":{"start":{"line":6,"column":4,"index":69},"end":{"line":6,"column":8,"index":73}} |
| 138 |
}, |
| 139 |
"computed": false, |
| 140 |
"property": { |
| 141 |
"type": "PrivateName", |
| 142 |
"start":74,"end":76,"loc":{"start":{"line":6,"column":9,"index":74},"end":{"line":6,"column":11,"index":76}}, |
| 143 |
"id": { |
| 144 |
"type": "Identifier", |
| 145 |
"start":75,"end":76,"loc":{"start":{"line":6,"column":10,"index":75},"end":{"line":6,"column":11,"index":76},"identifierName":"x"}, |
| 146 |
"name": "x" |
| 147 |
} |
| 148 |
} |
| 149 |
}, |
| 150 |
"right": { |
| 151 |
"type": "UnaryExpression", |
| 152 |
"start":79,"end":81,"loc":{"start":{"line":6,"column":14,"index":79},"end":{"line":6,"column":16,"index":81}}, |
| 153 |
"operator": "+", |
| 154 |
"prefix": true, |
| 155 |
"argument": { |
| 156 |
"type": "Identifier", |
| 157 |
"start":80,"end":81,"loc":{"start":{"line":6,"column":15,"index":80},"end":{"line":6,"column":16,"index":81},"identifierName":"x"}, |
| 158 |
"name": "x" |
| 159 |
} |
| 160 |
} |
| 161 |
} |
| 162 |
}, |
| 163 |
{ |
| 164 |
"type": "ExpressionStatement", |
| 165 |
"start":87,"end":100,"loc":{"start":{"line":7,"column":4,"index":87},"end":{"line":7,"column":17,"index":100}}, |
| 166 |
"expression": { |
| 167 |
"type": "AssignmentExpression", |
| 168 |
"start":87,"end":99,"loc":{"start":{"line":7,"column":4,"index":87},"end":{"line":7,"column":16,"index":99}}, |
| 169 |
"operator": "=", |
| 170 |
"left": { |
| 171 |
"type": "MemberExpression", |
| 172 |
"start":87,"end":94,"loc":{"start":{"line":7,"column":4,"index":87},"end":{"line":7,"column":11,"index":94}}, |
| 173 |
"object": { |
| 174 |
"type": "ThisExpression", |
| 175 |
"start":87,"end":91,"loc":{"start":{"line":7,"column":4,"index":87},"end":{"line":7,"column":8,"index":91}} |
| 176 |
}, |
| 177 |
"computed": false, |
| 178 |
"property": { |
| 179 |
"type": "PrivateName", |
| 180 |
"start":92,"end":94,"loc":{"start":{"line":7,"column":9,"index":92},"end":{"line":7,"column":11,"index":94}}, |
| 181 |
"id": { |
| 182 |
"type": "Identifier", |
| 183 |
"start":93,"end":94,"loc":{"start":{"line":7,"column":10,"index":93},"end":{"line":7,"column":11,"index":94},"identifierName":"y"}, |
| 184 |
"name": "y" |
| 185 |
} |
| 186 |
} |
| 187 |
}, |
| 188 |
"right": { |
| 189 |
"type": "UnaryExpression", |
| 190 |
"start":97,"end":99,"loc":{"start":{"line":7,"column":14,"index":97},"end":{"line":7,"column":16,"index":99}}, |
| 191 |
"operator": "+", |
| 192 |
"prefix": true, |
| 193 |
"argument": { |
| 194 |
"type": "Identifier", |
| 195 |
"start":98,"end":99,"loc":{"start":{"line":7,"column":15,"index":98},"end":{"line":7,"column":16,"index":99},"identifierName":"y"}, |
| 196 |
"name": "y" |
| 197 |
} |
| 198 |
} |
| 199 |
} |
| 200 |
}, |
| 201 |
{ |
| 202 |
"type": "ExpressionStatement", |
| 203 |
"start":106,"end":523,"loc":{"start":{"line":9,"column":4,"index":106},"end":{"line":27,"column":6,"index":523}}, |
| 204 |
"expression": { |
| 205 |
"type": "AssignmentExpression", |
| 206 |
"start":106,"end":522,"loc":{"start":{"line":9,"column":4,"index":106},"end":{"line":27,"column":5,"index":522}}, |
| 207 |
"operator": "=", |
| 208 |
"left": { |
| 209 |
"type": "MemberExpression", |
| 210 |
"start":106,"end":114,"loc":{"start":{"line":9,"column":4,"index":106},"end":{"line":9,"column":12,"index":114}}, |
| 211 |
"object": { |
| 212 |
"type": "ThisExpression", |
| 213 |
"start":106,"end":110,"loc":{"start":{"line":9,"column":4,"index":106},"end":{"line":9,"column":8,"index":110}} |
| 214 |
}, |
| 215 |
"computed": false, |
| 216 |
"property": { |
| 217 |
"type": "Identifier", |
| 218 |
"start":111,"end":114,"loc":{"start":{"line":9,"column":9,"index":111},"end":{"line":9,"column":12,"index":114},"identifierName":"foo"}, |
| 219 |
"name": "foo" |
| 220 |
} |
| 221 |
}, |
| 222 |
"right": { |
| 223 |
"type": "ClassExpression", |
| 224 |
"start":117,"end":522,"loc":{"start":{"line":9,"column":15,"index":117},"end":{"line":27,"column":5,"index":522}}, |
| 225 |
"id": null, |
| 226 |
"superClass": null, |
| 227 |
"body": { |
| 228 |
"type": "ClassBody", |
| 229 |
"start":123,"end":522,"loc":{"start":{"line":9,"column":21,"index":123},"end":{"line":27,"column":5,"index":522}}, |
| 230 |
"body": [ |
| 231 |
{ |
| 232 |
"type": "ClassPrivateProperty", |
| 233 |
"start":131,"end":138,"loc":{"start":{"line":10,"column":6,"index":131},"end":{"line":10,"column":13,"index":138}}, |
| 234 |
"static": false, |
| 235 |
"key": { |
| 236 |
"type": "PrivateName", |
| 237 |
"start":131,"end":133,"loc":{"start":{"line":10,"column":6,"index":131},"end":{"line":10,"column":8,"index":133}}, |
| 238 |
"id": { |
| 239 |
"type": "Identifier", |
| 240 |
"start":132,"end":133,"loc":{"start":{"line":10,"column":7,"index":132},"end":{"line":10,"column":8,"index":133},"identifierName":"x"}, |
| 241 |
"name": "x" |
| 242 |
} |
| 243 |
}, |
| 244 |
"value": { |
| 245 |
"type": "NumericLiteral", |
| 246 |
"start":136,"end":137,"loc":{"start":{"line":10,"column":11,"index":136},"end":{"line":10,"column":12,"index":137}}, |
| 247 |
"extra": { |
| 248 |
"rawValue": 1, |
| 249 |
"raw": "1" |
| 250 |
}, |
| 251 |
"value": 1 |
| 252 |
} |
| 253 |
}, |
| 254 |
{ |
| 255 |
"type": "ClassPrivateProperty", |
| 256 |
"start":145,"end":152,"loc":{"start":{"line":11,"column":6,"index":145},"end":{"line":11,"column":13,"index":152}}, |
| 257 |
"static": false, |
| 258 |
"key": { |
| 259 |
"type": "PrivateName", |
| 260 |
"start":145,"end":147,"loc":{"start":{"line":11,"column":6,"index":145},"end":{"line":11,"column":8,"index":147}}, |
| 261 |
"id": { |
| 262 |
"type": "Identifier", |
| 263 |
"start":146,"end":147,"loc":{"start":{"line":11,"column":7,"index":146},"end":{"line":11,"column":8,"index":147},"identifierName":"y"}, |
| 264 |
"name": "y" |
| 265 |
} |
| 266 |
}, |
| 267 |
"value": { |
| 268 |
"type": "NumericLiteral", |
| 269 |
"start":150,"end":151,"loc":{"start":{"line":11,"column":11,"index":150},"end":{"line":11,"column":12,"index":151}}, |
| 270 |
"extra": { |
| 271 |
"rawValue": 2, |
| 272 |
"raw": "2" |
| 273 |
}, |
| 274 |
"value": 2 |
| 275 |
} |
| 276 |
}, |
| 277 |
{ |
| 278 |
"type": "ClassMethod", |
| 279 |
"start":160,"end":239,"loc":{"start":{"line":13,"column":6,"index":160},"end":{"line":16,"column":7,"index":239}}, |
| 280 |
"static": false, |
| 281 |
"key": { |
| 282 |
"type": "Identifier", |
| 283 |
"start":160,"end":171,"loc":{"start":{"line":13,"column":6,"index":160},"end":{"line":13,"column":17,"index":171},"identifierName":"constructor"}, |
| 284 |
"name": "constructor" |
| 285 |
}, |
| 286 |
"computed": false, |
| 287 |
"kind": "constructor", |
| 288 |
"id": null, |
| 289 |
"generator": false, |
| 290 |
"async": false, |
| 291 |
"params": [ |
| 292 |
{ |
| 293 |
"type": "AssignmentPattern", |
| 294 |
"start":172,"end":177,"loc":{"start":{"line":13,"column":18,"index":172},"end":{"line":13,"column":23,"index":177}}, |
| 295 |
"left": { |
| 296 |
"type": "Identifier", |
| 297 |
"start":172,"end":173,"loc":{"start":{"line":13,"column":18,"index":172},"end":{"line":13,"column":19,"index":173},"identifierName":"x"}, |
| 298 |
"name": "x" |
| 299 |
}, |
| 300 |
"right": { |
| 301 |
"type": "NumericLiteral", |
| 302 |
"start":176,"end":177,"loc":{"start":{"line":13,"column":22,"index":176},"end":{"line":13,"column":23,"index":177}}, |
| 303 |
"extra": { |
| 304 |
"rawValue": 0, |
| 305 |
"raw": "0" |
| 306 |
}, |
| 307 |
"value": 0 |
| 308 |
} |
| 309 |
}, |
| 310 |
{ |
| 311 |
"type": "AssignmentPattern", |
| 312 |
"start":179,"end":184,"loc":{"start":{"line":13,"column":25,"index":179},"end":{"line":13,"column":30,"index":184}}, |
| 313 |
"left": { |
| 314 |
"type": "Identifier", |
| 315 |
"start":179,"end":180,"loc":{"start":{"line":13,"column":25,"index":179},"end":{"line":13,"column":26,"index":180},"identifierName":"y"}, |
| 316 |
"name": "y" |
| 317 |
}, |
| 318 |
"right": { |
| 319 |
"type": "NumericLiteral", |
| 320 |
"start":183,"end":184,"loc":{"start":{"line":13,"column":29,"index":183},"end":{"line":13,"column":30,"index":184}}, |
| 321 |
"extra": { |
| 322 |
"rawValue": 0, |
| 323 |
"raw": "0" |
| 324 |
}, |
| 325 |
"value": 0 |
| 326 |
} |
| 327 |
} |
| 328 |
], |
| 329 |
"body": { |
| 330 |
"type": "BlockStatement", |
| 331 |
"start":186,"end":239,"loc":{"start":{"line":13,"column":32,"index":186},"end":{"line":16,"column":7,"index":239}}, |
| 332 |
"body": [ |
| 333 |
{ |
| 334 |
"type": "ExpressionStatement", |
| 335 |
"start":196,"end":209,"loc":{"start":{"line":14,"column":8,"index":196},"end":{"line":14,"column":21,"index":209}}, |
| 336 |
"expression": { |
| 337 |
"type": "AssignmentExpression", |
| 338 |
"start":196,"end":208,"loc":{"start":{"line":14,"column":8,"index":196},"end":{"line":14,"column":20,"index":208}}, |
| 339 |
"operator": "=", |
| 340 |
"left": { |
| 341 |
"type": "MemberExpression", |
| 342 |
"start":196,"end":203,"loc":{"start":{"line":14,"column":8,"index":196},"end":{"line":14,"column":15,"index":203}}, |
| 343 |
"object": { |
| 344 |
"type": "ThisExpression", |
| 345 |
"start":196,"end":200,"loc":{"start":{"line":14,"column":8,"index":196},"end":{"line":14,"column":12,"index":200}} |
| 346 |
}, |
| 347 |
"computed": false, |
| 348 |
"property": { |
| 349 |
"type": "PrivateName", |
| 350 |
"start":201,"end":203,"loc":{"start":{"line":14,"column":13,"index":201},"end":{"line":14,"column":15,"index":203}}, |
| 351 |
"id": { |
| 352 |
"type": "Identifier", |
| 353 |
"start":202,"end":203,"loc":{"start":{"line":14,"column":14,"index":202},"end":{"line":14,"column":15,"index":203},"identifierName":"x"}, |
| 354 |
"name": "x" |
| 355 |
} |
| 356 |
} |
| 357 |
}, |
| 358 |
"right": { |
| 359 |
"type": "UnaryExpression", |
| 360 |
"start":206,"end":208,"loc":{"start":{"line":14,"column":18,"index":206},"end":{"line":14,"column":20,"index":208}}, |
| 361 |
"operator": "+", |
| 362 |
"prefix": true, |
| 363 |
"argument": { |
| 364 |
"type": "Identifier", |
| 365 |
"start":207,"end":208,"loc":{"start":{"line":14,"column":19,"index":207},"end":{"line":14,"column":20,"index":208},"identifierName":"x"}, |
| 366 |
"name": "x" |
| 367 |
} |
| 368 |
} |
| 369 |
} |
| 370 |
}, |
| 371 |
{ |
| 372 |
"type": "ExpressionStatement", |
| 373 |
"start":218,"end":231,"loc":{"start":{"line":15,"column":8,"index":218},"end":{"line":15,"column":21,"index":231}}, |
| 374 |
"expression": { |
| 375 |
"type": "AssignmentExpression", |
| 376 |
"start":218,"end":230,"loc":{"start":{"line":15,"column":8,"index":218},"end":{"line":15,"column":20,"index":230}}, |
| 377 |
"operator": "=", |
| 378 |
"left": { |
| 379 |
"type": "MemberExpression", |
| 380 |
"start":218,"end":225,"loc":{"start":{"line":15,"column":8,"index":218},"end":{"line":15,"column":15,"index":225}}, |
| 381 |
"object": { |
| 382 |
"type": "ThisExpression", |
| 383 |
"start":218,"end":222,"loc":{"start":{"line":15,"column":8,"index":218},"end":{"line":15,"column":12,"index":222}} |
| 384 |
}, |
| 385 |
"computed": false, |
| 386 |
"property": { |
| 387 |
"type": "PrivateName", |
| 388 |
"start":223,"end":225,"loc":{"start":{"line":15,"column":13,"index":223},"end":{"line":15,"column":15,"index":225}}, |
| 389 |
"id": { |
| 390 |
"type": "Identifier", |
| 391 |
"start":224,"end":225,"loc":{"start":{"line":15,"column":14,"index":224},"end":{"line":15,"column":15,"index":225},"identifierName":"y"}, |
| 392 |
"name": "y" |
| 393 |
} |
| 394 |
} |
| 395 |
}, |
| 396 |
"right": { |
| 397 |
"type": "UnaryExpression", |
| 398 |
"start":228,"end":230,"loc":{"start":{"line":15,"column":18,"index":228},"end":{"line":15,"column":20,"index":230}}, |
| 399 |
"operator": "+", |
| 400 |
"prefix": true, |
| 401 |
"argument": { |
| 402 |
"type": "Identifier", |
| 403 |
"start":229,"end":230,"loc":{"start":{"line":15,"column":19,"index":229},"end":{"line":15,"column":20,"index":230},"identifierName":"y"}, |
| 404 |
"name": "y" |
| 405 |
} |
| 406 |
} |
| 407 |
} |
| 408 |
} |
| 409 |
], |
| 410 |
"directives": [] |
| 411 |
} |
| 412 |
}, |
| 413 |
{ |
| 414 |
"type": "ClassMethod", |
| 415 |
"start":247,"end":273,"loc":{"start":{"line":18,"column":6,"index":247},"end":{"line":18,"column":32,"index":273}}, |
| 416 |
"static": false, |
| 417 |
"key": { |
| 418 |
"type": "Identifier", |
| 419 |
"start":251,"end":252,"loc":{"start":{"line":18,"column":10,"index":251},"end":{"line":18,"column":11,"index":252},"identifierName":"x"}, |
| 420 |
"name": "x" |
| 421 |
}, |
| 422 |
"computed": false, |
| 423 |
"kind": "get", |
| 424 |
"id": null, |
| 425 |
"generator": false, |
| 426 |
"async": false, |
| 427 |
"params": [], |
| 428 |
"body": { |
| 429 |
"type": "BlockStatement", |
| 430 |
"start":255,"end":273,"loc":{"start":{"line":18,"column":14,"index":255},"end":{"line":18,"column":32,"index":273}}, |
| 431 |
"body": [ |
| 432 |
{ |
| 433 |
"type": "ReturnStatement", |
| 434 |
"start":257,"end":271,"loc":{"start":{"line":18,"column":16,"index":257},"end":{"line":18,"column":30,"index":271}}, |
| 435 |
"argument": { |
| 436 |
"type": "MemberExpression", |
| 437 |
"start":264,"end":271,"loc":{"start":{"line":18,"column":23,"index":264},"end":{"line":18,"column":30,"index":271}}, |
| 438 |
"object": { |
| 439 |
"type": "ThisExpression", |
| 440 |
"start":264,"end":268,"loc":{"start":{"line":18,"column":23,"index":264},"end":{"line":18,"column":27,"index":268}} |
| 441 |
}, |
| 442 |
"computed": false, |
| 443 |
"property": { |
| 444 |
"type": "PrivateName", |
| 445 |
"start":269,"end":271,"loc":{"start":{"line":18,"column":28,"index":269},"end":{"line":18,"column":30,"index":271}}, |
| 446 |
"id": { |
| 447 |
"type": "Identifier", |
| 448 |
"start":270,"end":271,"loc":{"start":{"line":18,"column":29,"index":270},"end":{"line":18,"column":30,"index":271},"identifierName":"x"}, |
| 449 |
"name": "x" |
| 450 |
} |
| 451 |
} |
| 452 |
} |
| 453 |
} |
| 454 |
], |
| 455 |
"directives": [] |
| 456 |
} |
| 457 |
}, |
| 458 |
{ |
| 459 |
"type": "ClassMethod", |
| 460 |
"start":280,"end":313,"loc":{"start":{"line":19,"column":6,"index":280},"end":{"line":19,"column":39,"index":313}}, |
| 461 |
"static": false, |
| 462 |
"key": { |
| 463 |
"type": "Identifier", |
| 464 |
"start":284,"end":285,"loc":{"start":{"line":19,"column":10,"index":284},"end":{"line":19,"column":11,"index":285},"identifierName":"x"}, |
| 465 |
"name": "x" |
| 466 |
}, |
| 467 |
"computed": false, |
| 468 |
"kind": "set", |
| 469 |
"id": null, |
| 470 |
"generator": false, |
| 471 |
"async": false, |
| 472 |
"params": [ |
| 473 |
{ |
| 474 |
"type": "Identifier", |
| 475 |
"start":286,"end":291,"loc":{"start":{"line":19,"column":12,"index":286},"end":{"line":19,"column":17,"index":291},"identifierName":"value"}, |
| 476 |
"name": "value" |
| 477 |
} |
| 478 |
], |
| 479 |
"body": { |
| 480 |
"type": "BlockStatement", |
| 481 |
"start":293,"end":313,"loc":{"start":{"line":19,"column":19,"index":293},"end":{"line":19,"column":39,"index":313}}, |
| 482 |
"body": [ |
| 483 |
{ |
| 484 |
"type": "ExpressionStatement", |
| 485 |
"start":295,"end":311,"loc":{"start":{"line":19,"column":21,"index":295},"end":{"line":19,"column":37,"index":311}}, |
| 486 |
"expression": { |
| 487 |
"type": "AssignmentExpression", |
| 488 |
"start":295,"end":311,"loc":{"start":{"line":19,"column":21,"index":295},"end":{"line":19,"column":37,"index":311}}, |
| 489 |
"operator": "=", |
| 490 |
"left": { |
| 491 |
"type": "MemberExpression", |
| 492 |
"start":295,"end":302,"loc":{"start":{"line":19,"column":21,"index":295},"end":{"line":19,"column":28,"index":302}}, |
| 493 |
"object": { |
| 494 |
"type": "ThisExpression", |
| 495 |
"start":295,"end":299,"loc":{"start":{"line":19,"column":21,"index":295},"end":{"line":19,"column":25,"index":299}} |
| 496 |
}, |
| 497 |
"computed": false, |
| 498 |
"property": { |
| 499 |
"type": "PrivateName", |
| 500 |
"start":300,"end":302,"loc":{"start":{"line":19,"column":26,"index":300},"end":{"line":19,"column":28,"index":302}}, |
| 501 |
"id": { |
| 502 |
"type": "Identifier", |
| 503 |
"start":301,"end":302,"loc":{"start":{"line":19,"column":27,"index":301},"end":{"line":19,"column":28,"index":302},"identifierName":"x"}, |
| 504 |
"name": "x" |
| 505 |
} |
| 506 |
} |
| 507 |
}, |
| 508 |
"right": { |
| 509 |
"type": "UnaryExpression", |
| 510 |
"start":305,"end":311,"loc":{"start":{"line":19,"column":31,"index":305},"end":{"line":19,"column":37,"index":311}}, |
| 511 |
"operator": "+", |
| 512 |
"prefix": true, |
| 513 |
"argument": { |
| 514 |
"type": "Identifier", |
| 515 |
"start":306,"end":311,"loc":{"start":{"line":19,"column":32,"index":306},"end":{"line":19,"column":37,"index":311},"identifierName":"value"}, |
| 516 |
"name": "value" |
| 517 |
} |
| 518 |
} |
| 519 |
} |
| 520 |
} |
| 521 |
], |
| 522 |
"directives": [] |
| 523 |
} |
| 524 |
}, |
| 525 |
{ |
| 526 |
"type": "ClassMethod", |
| 527 |
"start":321,"end":347,"loc":{"start":{"line":21,"column":6,"index":321},"end":{"line":21,"column":32,"index":347}}, |
| 528 |
"static": false, |
| 529 |
"key": { |
| 530 |
"type": "Identifier", |
| 531 |
"start":325,"end":326,"loc":{"start":{"line":21,"column":10,"index":325},"end":{"line":21,"column":11,"index":326},"identifierName":"y"}, |
| 532 |
"name": "y" |
| 533 |
}, |
| 534 |
"computed": false, |
| 535 |
"kind": "get", |
| 536 |
"id": null, |
| 537 |
"generator": false, |
| 538 |
"async": false, |
| 539 |
"params": [], |
| 540 |
"body": { |
| 541 |
"type": "BlockStatement", |
| 542 |
"start":329,"end":347,"loc":{"start":{"line":21,"column":14,"index":329},"end":{"line":21,"column":32,"index":347}}, |
| 543 |
"body": [ |
| 544 |
{ |
| 545 |
"type": "ReturnStatement", |
| 546 |
"start":331,"end":345,"loc":{"start":{"line":21,"column":16,"index":331},"end":{"line":21,"column":30,"index":345}}, |
| 547 |
"argument": { |
| 548 |
"type": "MemberExpression", |
| 549 |
"start":338,"end":345,"loc":{"start":{"line":21,"column":23,"index":338},"end":{"line":21,"column":30,"index":345}}, |
| 550 |
"object": { |
| 551 |
"type": "ThisExpression", |
| 552 |
"start":338,"end":342,"loc":{"start":{"line":21,"column":23,"index":338},"end":{"line":21,"column":27,"index":342}} |
| 553 |
}, |
| 554 |
"computed": false, |
| 555 |
"property": { |
| 556 |
"type": "PrivateName", |
| 557 |
"start":343,"end":345,"loc":{"start":{"line":21,"column":28,"index":343},"end":{"line":21,"column":30,"index":345}}, |
| 558 |
"id": { |
| 559 |
"type": "Identifier", |
| 560 |
"start":344,"end":345,"loc":{"start":{"line":21,"column":29,"index":344},"end":{"line":21,"column":30,"index":345},"identifierName":"y"}, |
| 561 |
"name": "y" |
| 562 |
} |
| 563 |
} |
| 564 |
} |
| 565 |
} |
| 566 |
], |
| 567 |
"directives": [] |
| 568 |
} |
| 569 |
}, |
| 570 |
{ |
| 571 |
"type": "ClassMethod", |
| 572 |
"start":354,"end":387,"loc":{"start":{"line":22,"column":6,"index":354},"end":{"line":22,"column":39,"index":387}}, |
| 573 |
"static": false, |
| 574 |
"key": { |
| 575 |
"type": "Identifier", |
| 576 |
"start":358,"end":359,"loc":{"start":{"line":22,"column":10,"index":358},"end":{"line":22,"column":11,"index":359},"identifierName":"y"}, |
| 577 |
"name": "y" |
| 578 |
}, |
| 579 |
"computed": false, |
| 580 |
"kind": "set", |
| 581 |
"id": null, |
| 582 |
"generator": false, |
| 583 |
"async": false, |
| 584 |
"params": [ |
| 585 |
{ |
| 586 |
"type": "Identifier", |
| 587 |
"start":360,"end":365,"loc":{"start":{"line":22,"column":12,"index":360},"end":{"line":22,"column":17,"index":365},"identifierName":"value"}, |
| 588 |
"name": "value" |
| 589 |
} |
| 590 |
], |
| 591 |
"body": { |
| 592 |
"type": "BlockStatement", |
| 593 |
"start":367,"end":387,"loc":{"start":{"line":22,"column":19,"index":367},"end":{"line":22,"column":39,"index":387}}, |
| 594 |
"body": [ |
| 595 |
{ |
| 596 |
"type": "ExpressionStatement", |
| 597 |
"start":369,"end":385,"loc":{"start":{"line":22,"column":21,"index":369},"end":{"line":22,"column":37,"index":385}}, |
| 598 |
"expression": { |
| 599 |
"type": "AssignmentExpression", |
| 600 |
"start":369,"end":385,"loc":{"start":{"line":22,"column":21,"index":369},"end":{"line":22,"column":37,"index":385}}, |
| 601 |
"operator": "=", |
| 602 |
"left": { |
| 603 |
"type": "MemberExpression", |
| 604 |
"start":369,"end":376,"loc":{"start":{"line":22,"column":21,"index":369},"end":{"line":22,"column":28,"index":376}}, |
| 605 |
"object": { |
| 606 |
"type": "ThisExpression", |
| 607 |
"start":369,"end":373,"loc":{"start":{"line":22,"column":21,"index":369},"end":{"line":22,"column":25,"index":373}} |
| 608 |
}, |
| 609 |
"computed": false, |
| 610 |
"property": { |
| 611 |
"type": "PrivateName", |
| 612 |
"start":374,"end":376,"loc":{"start":{"line":22,"column":26,"index":374},"end":{"line":22,"column":28,"index":376}}, |
| 613 |
"id": { |
| 614 |
"type": "Identifier", |
| 615 |
"start":375,"end":376,"loc":{"start":{"line":22,"column":27,"index":375},"end":{"line":22,"column":28,"index":376},"identifierName":"y"}, |
| 616 |
"name": "y" |
| 617 |
} |
| 618 |
} |
| 619 |
}, |
| 620 |
"right": { |
| 621 |
"type": "UnaryExpression", |
| 622 |
"start":379,"end":385,"loc":{"start":{"line":22,"column":31,"index":379},"end":{"line":22,"column":37,"index":385}}, |
| 623 |
"operator": "+", |
| 624 |
"prefix": true, |
| 625 |
"argument": { |
| 626 |
"type": "Identifier", |
| 627 |
"start":380,"end":385,"loc":{"start":{"line":22,"column":32,"index":380},"end":{"line":22,"column":37,"index":385},"identifierName":"value"}, |
| 628 |
"name": "value" |
| 629 |
} |
| 630 |
} |
| 631 |
} |
| 632 |
} |
| 633 |
], |
| 634 |
"directives": [] |
| 635 |
} |
| 636 |
}, |
| 637 |
{ |
| 638 |
"type": "ClassMethod", |
| 639 |
"start":395,"end":452,"loc":{"start":{"line":24,"column":6,"index":395},"end":{"line":24,"column":63,"index":452}}, |
| 640 |
"static": false, |
| 641 |
"key": { |
| 642 |
"type": "Identifier", |
| 643 |
"start":395,"end":401,"loc":{"start":{"line":24,"column":6,"index":395},"end":{"line":24,"column":12,"index":401},"identifierName":"equals"}, |
| 644 |
"name": "equals" |
| 645 |
}, |
| 646 |
"computed": false, |
| 647 |
"kind": "method", |
| 648 |
"id": null, |
| 649 |
"generator": false, |
| 650 |
"async": false, |
| 651 |
"params": [ |
| 652 |
{ |
| 653 |
"type": "Identifier", |
| 654 |
"start":402,"end":403,"loc":{"start":{"line":24,"column":13,"index":402},"end":{"line":24,"column":14,"index":403},"identifierName":"p"}, |
| 655 |
"name": "p" |
| 656 |
} |
| 657 |
], |
| 658 |
"body": { |
| 659 |
"type": "BlockStatement", |
| 660 |
"start":405,"end":452,"loc":{"start":{"line":24,"column":16,"index":405},"end":{"line":24,"column":63,"index":452}}, |
| 661 |
"body": [ |
| 662 |
{ |
| 663 |
"type": "ReturnStatement", |
| 664 |
"start":407,"end":450,"loc":{"start":{"line":24,"column":18,"index":407},"end":{"line":24,"column":61,"index":450}}, |
| 665 |
"argument": { |
| 666 |
"type": "LogicalExpression", |
| 667 |
"start":414,"end":450,"loc":{"start":{"line":24,"column":25,"index":414},"end":{"line":24,"column":61,"index":450}}, |
| 668 |
"left": { |
| 669 |
"type": "BinaryExpression", |
| 670 |
"start":414,"end":430,"loc":{"start":{"line":24,"column":25,"index":414},"end":{"line":24,"column":41,"index":430}}, |
| 671 |
"left": { |
| 672 |
"type": "MemberExpression", |
| 673 |
"start":414,"end":421,"loc":{"start":{"line":24,"column":25,"index":414},"end":{"line":24,"column":32,"index":421}}, |
| 674 |
"object": { |
| 675 |
"type": "ThisExpression", |
| 676 |
"start":414,"end":418,"loc":{"start":{"line":24,"column":25,"index":414},"end":{"line":24,"column":29,"index":418}} |
| 677 |
}, |
| 678 |
"computed": false, |
| 679 |
"property": { |
| 680 |
"type": "PrivateName", |
| 681 |
"start":419,"end":421,"loc":{"start":{"line":24,"column":30,"index":419},"end":{"line":24,"column":32,"index":421}}, |
| 682 |
"id": { |
| 683 |
"type": "Identifier", |
| 684 |
"start":420,"end":421,"loc":{"start":{"line":24,"column":31,"index":420},"end":{"line":24,"column":32,"index":421},"identifierName":"x"}, |
| 685 |
"name": "x" |
| 686 |
} |
| 687 |
} |
| 688 |
}, |
| 689 |
"operator": "===", |
| 690 |
"right": { |
| 691 |
"type": "MemberExpression", |
| 692 |
"start":426,"end":430,"loc":{"start":{"line":24,"column":37,"index":426},"end":{"line":24,"column":41,"index":430}}, |
| 693 |
"object": { |
| 694 |
"type": "Identifier", |
| 695 |
"start":426,"end":427,"loc":{"start":{"line":24,"column":37,"index":426},"end":{"line":24,"column":38,"index":427},"identifierName":"p"}, |
| 696 |
"name": "p" |
| 697 |
}, |
| 698 |
"computed": false, |
| 699 |
"property": { |
| 700 |
"type": "PrivateName", |
| 701 |
"start":428,"end":430,"loc":{"start":{"line":24,"column":39,"index":428},"end":{"line":24,"column":41,"index":430}}, |
| 702 |
"id": { |
| 703 |
"type": "Identifier", |
| 704 |
"start":429,"end":430,"loc":{"start":{"line":24,"column":40,"index":429},"end":{"line":24,"column":41,"index":430},"identifierName":"x"}, |
| 705 |
"name": "x" |
| 706 |
} |
| 707 |
} |
| 708 |
} |
| 709 |
}, |
| 710 |
"operator": "&&", |
| 711 |
"right": { |
| 712 |
"type": "BinaryExpression", |
| 713 |
"start":434,"end":450,"loc":{"start":{"line":24,"column":45,"index":434},"end":{"line":24,"column":61,"index":450}}, |
| 714 |
"left": { |
| 715 |
"type": "MemberExpression", |
| 716 |
"start":434,"end":441,"loc":{"start":{"line":24,"column":45,"index":434},"end":{"line":24,"column":52,"index":441}}, |
| 717 |
"object": { |
| 718 |
"type": "ThisExpression", |
| 719 |
"start":434,"end":438,"loc":{"start":{"line":24,"column":45,"index":434},"end":{"line":24,"column":49,"index":438}} |
| 720 |
}, |
| 721 |
"computed": false, |
| 722 |
"property": { |
| 723 |
"type": "PrivateName", |
| 724 |
"start":439,"end":441,"loc":{"start":{"line":24,"column":50,"index":439},"end":{"line":24,"column":52,"index":441}}, |
| 725 |
"id": { |
| 726 |
"type": "Identifier", |
| 727 |
"start":440,"end":441,"loc":{"start":{"line":24,"column":51,"index":440},"end":{"line":24,"column":52,"index":441},"identifierName":"y"}, |
| 728 |
"name": "y" |
| 729 |
} |
| 730 |
} |
| 731 |
}, |
| 732 |
"operator": "===", |
| 733 |
"right": { |
| 734 |
"type": "MemberExpression", |
| 735 |
"start":446,"end":450,"loc":{"start":{"line":24,"column":57,"index":446},"end":{"line":24,"column":61,"index":450}}, |
| 736 |
"object": { |
| 737 |
"type": "Identifier", |
| 738 |
"start":446,"end":447,"loc":{"start":{"line":24,"column":57,"index":446},"end":{"line":24,"column":58,"index":447},"identifierName":"p"}, |
| 739 |
"name": "p" |
| 740 |
}, |
| 741 |
"computed": false, |
| 742 |
"property": { |
| 743 |
"type": "PrivateName", |
| 744 |
"start":448,"end":450,"loc":{"start":{"line":24,"column":59,"index":448},"end":{"line":24,"column":61,"index":450}}, |
| 745 |
"id": { |
| 746 |
"type": "Identifier", |
| 747 |
"start":449,"end":450,"loc":{"start":{"line":24,"column":60,"index":449},"end":{"line":24,"column":61,"index":450},"identifierName":"y"}, |
| 748 |
"name": "y" |
| 749 |
} |
| 750 |
} |
| 751 |
} |
| 752 |
} |
| 753 |
} |
| 754 |
} |
| 755 |
], |
| 756 |
"directives": [] |
| 757 |
} |
| 758 |
}, |
| 759 |
{ |
| 760 |
"type": "ClassMethod", |
| 761 |
"start":460,"end":516,"loc":{"start":{"line":26,"column":6,"index":460},"end":{"line":26,"column":62,"index":516}}, |
| 762 |
"static": false, |
| 763 |
"key": { |
| 764 |
"type": "Identifier", |
| 765 |
"start":460,"end":468,"loc":{"start":{"line":26,"column":6,"index":460},"end":{"line":26,"column":14,"index":468},"identifierName":"toString"}, |
| 766 |
"name": "toString" |
| 767 |
}, |
| 768 |
"computed": false, |
| 769 |
"kind": "method", |
| 770 |
"id": null, |
| 771 |
"generator": false, |
| 772 |
"async": false, |
| 773 |
"params": [], |
| 774 |
"body": { |
| 775 |
"type": "BlockStatement", |
| 776 |
"start":471,"end":516,"loc":{"start":{"line":26,"column":17,"index":471},"end":{"line":26,"column":62,"index":516}}, |
| 777 |
"body": [ |
| 778 |
{ |
| 779 |
"type": "ReturnStatement", |
| 780 |
"start":473,"end":514,"loc":{"start":{"line":26,"column":19,"index":473},"end":{"line":26,"column":60,"index":514}}, |
| 781 |
"argument": { |
| 782 |
"type": "TemplateLiteral", |
| 783 |
"start":480,"end":514,"loc":{"start":{"line":26,"column":26,"index":480},"end":{"line":26,"column":60,"index":514}}, |
| 784 |
"expressions": [ |
| 785 |
{ |
| 786 |
"type": "MemberExpression", |
| 787 |
"start":490,"end":497,"loc":{"start":{"line":26,"column":36,"index":490},"end":{"line":26,"column":43,"index":497}}, |
| 788 |
"object": { |
| 789 |
"type": "ThisExpression", |
| 790 |
"start":490,"end":494,"loc":{"start":{"line":26,"column":36,"index":490},"end":{"line":26,"column":40,"index":494}} |
| 791 |
}, |
| 792 |
"computed": false, |
| 793 |
"property": { |
| 794 |
"type": "PrivateName", |
| 795 |
"start":495,"end":497,"loc":{"start":{"line":26,"column":41,"index":495},"end":{"line":26,"column":43,"index":497}}, |
| 796 |
"id": { |
| 797 |
"type": "Identifier", |
| 798 |
"start":496,"end":497,"loc":{"start":{"line":26,"column":42,"index":496},"end":{"line":26,"column":43,"index":497},"identifierName":"x"}, |
| 799 |
"name": "x" |
| 800 |
} |
| 801 |
} |
| 802 |
}, |
| 803 |
{ |
| 804 |
"type": "MemberExpression", |
| 805 |
"start":503,"end":510,"loc":{"start":{"line":26,"column":49,"index":503},"end":{"line":26,"column":56,"index":510}}, |
| 806 |
"object": { |
| 807 |
"type": "ThisExpression", |
| 808 |
"start":503,"end":507,"loc":{"start":{"line":26,"column":49,"index":503},"end":{"line":26,"column":53,"index":507}} |
| 809 |
}, |
| 810 |
"computed": false, |
| 811 |
"property": { |
| 812 |
"type": "PrivateName", |
| 813 |
"start":508,"end":510,"loc":{"start":{"line":26,"column":54,"index":508},"end":{"line":26,"column":56,"index":510}}, |
| 814 |
"id": { |
| 815 |
"type": "Identifier", |
| 816 |
"start":509,"end":510,"loc":{"start":{"line":26,"column":55,"index":509},"end":{"line":26,"column":56,"index":510},"identifierName":"y"}, |
| 817 |
"name": "y" |
| 818 |
} |
| 819 |
} |
| 820 |
} |
| 821 |
], |
| 822 |
"quasis": [ |
| 823 |
{ |
| 824 |
"type": "TemplateElement", |
| 825 |
"start":481,"end":487,"loc":{"start":{"line":26,"column":27,"index":481},"end":{"line":26,"column":33,"index":487}}, |
| 826 |
"value": { |
| 827 |
"raw": "Point<", |
| 828 |
"cooked": "Point<" |
| 829 |
}, |
| 830 |
"tail": false |
| 831 |
}, |
| 832 |
{ |
| 833 |
"type": "TemplateElement", |
| 834 |
"start":499,"end":500,"loc":{"start":{"line":26,"column":45,"index":499},"end":{"line":26,"column":46,"index":500}}, |
| 835 |
"value": { |
| 836 |
"raw": ",", |
| 837 |
"cooked": "," |
| 838 |
}, |
| 839 |
"tail": false |
| 840 |
}, |
| 841 |
{ |
| 842 |
"type": "TemplateElement", |
| 843 |
"start":512,"end":513,"loc":{"start":{"line":26,"column":58,"index":512},"end":{"line":26,"column":59,"index":513}}, |
| 844 |
"value": { |
| 845 |
"raw": ">", |
| 846 |
"cooked": ">" |
| 847 |
}, |
| 848 |
"tail": true |
| 849 |
} |
| 850 |
] |
| 851 |
} |
| 852 |
} |
| 853 |
], |
| 854 |
"directives": [] |
| 855 |
} |
| 856 |
} |
| 857 |
] |
| 858 |
} |
| 859 |
} |
| 860 |
} |
| 861 |
} |
| 862 |
], |
| 863 |
"directives": [] |
| 864 |
} |
| 865 |
}, |
| 866 |
{ |
| 867 |
"type": "ClassMethod", |
| 868 |
"start":531,"end":557,"loc":{"start":{"line":30,"column":2,"index":531},"end":{"line":30,"column":28,"index":557}}, |
| 869 |
"static": false, |
| 870 |
"key": { |
| 871 |
"type": "Identifier", |
| 872 |
"start":535,"end":536,"loc":{"start":{"line":30,"column":6,"index":535},"end":{"line":30,"column":7,"index":536},"identifierName":"x"}, |
| 873 |
"name": "x" |
| 874 |
}, |
| 875 |
"computed": false, |
| 876 |
"kind": "get", |
| 877 |
"id": null, |
| 878 |
"generator": false, |
| 879 |
"async": false, |
| 880 |
"params": [], |
| 881 |
"body": { |
| 882 |
"type": "BlockStatement", |
| 883 |
"start":539,"end":557,"loc":{"start":{"line":30,"column":10,"index":539},"end":{"line":30,"column":28,"index":557}}, |
| 884 |
"body": [ |
| 885 |
{ |
| 886 |
"type": "ReturnStatement", |
| 887 |
"start":541,"end":555,"loc":{"start":{"line":30,"column":12,"index":541},"end":{"line":30,"column":26,"index":555}}, |
| 888 |
"argument": { |
| 889 |
"type": "MemberExpression", |
| 890 |
"start":548,"end":555,"loc":{"start":{"line":30,"column":19,"index":548},"end":{"line":30,"column":26,"index":555}}, |
| 891 |
"object": { |
| 892 |
"type": "ThisExpression", |
| 893 |
"start":548,"end":552,"loc":{"start":{"line":30,"column":19,"index":548},"end":{"line":30,"column":23,"index":552}} |
| 894 |
}, |
| 895 |
"computed": false, |
| 896 |
"property": { |
| 897 |
"type": "PrivateName", |
| 898 |
"start":553,"end":555,"loc":{"start":{"line":30,"column":24,"index":553},"end":{"line":30,"column":26,"index":555}}, |
| 899 |
"id": { |
| 900 |
"type": "Identifier", |
| 901 |
"start":554,"end":555,"loc":{"start":{"line":30,"column":25,"index":554},"end":{"line":30,"column":26,"index":555},"identifierName":"x"}, |
| 902 |
"name": "x" |
| 903 |
} |
| 904 |
} |
| 905 |
} |
| 906 |
} |
| 907 |
], |
| 908 |
"directives": [] |
| 909 |
} |
| 910 |
}, |
| 911 |
{ |
| 912 |
"type": "ClassMethod", |
| 913 |
"start":560,"end":593,"loc":{"start":{"line":31,"column":2,"index":560},"end":{"line":31,"column":35,"index":593}}, |
| 914 |
"static": false, |
| 915 |
"key": { |
| 916 |
"type": "Identifier", |
| 917 |
"start":564,"end":565,"loc":{"start":{"line":31,"column":6,"index":564},"end":{"line":31,"column":7,"index":565},"identifierName":"x"}, |
| 918 |
"name": "x" |
| 919 |
}, |
| 920 |
"computed": false, |
| 921 |
"kind": "set", |
| 922 |
"id": null, |
| 923 |
"generator": false, |
| 924 |
"async": false, |
| 925 |
"params": [ |
| 926 |
{ |
| 927 |
"type": "Identifier", |
| 928 |
"start":566,"end":571,"loc":{"start":{"line":31,"column":8,"index":566},"end":{"line":31,"column":13,"index":571},"identifierName":"value"}, |
| 929 |
"name": "value" |
| 930 |
} |
| 931 |
], |
| 932 |
"body": { |
| 933 |
"type": "BlockStatement", |
| 934 |
"start":573,"end":593,"loc":{"start":{"line":31,"column":15,"index":573},"end":{"line":31,"column":35,"index":593}}, |
| 935 |
"body": [ |
| 936 |
{ |
| 937 |
"type": "ExpressionStatement", |
| 938 |
"start":575,"end":591,"loc":{"start":{"line":31,"column":17,"index":575},"end":{"line":31,"column":33,"index":591}}, |
| 939 |
"expression": { |
| 940 |
"type": "AssignmentExpression", |
| 941 |
"start":575,"end":591,"loc":{"start":{"line":31,"column":17,"index":575},"end":{"line":31,"column":33,"index":591}}, |
| 942 |
"operator": "=", |
| 943 |
"left": { |
| 944 |
"type": "MemberExpression", |
| 945 |
"start":575,"end":582,"loc":{"start":{"line":31,"column":17,"index":575},"end":{"line":31,"column":24,"index":582}}, |
| 946 |
"object": { |
| 947 |
"type": "ThisExpression", |
| 948 |
"start":575,"end":579,"loc":{"start":{"line":31,"column":17,"index":575},"end":{"line":31,"column":21,"index":579}} |
| 949 |
}, |
| 950 |
"computed": false, |
| 951 |
"property": { |
| 952 |
"type": "PrivateName", |
| 953 |
"start":580,"end":582,"loc":{"start":{"line":31,"column":22,"index":580},"end":{"line":31,"column":24,"index":582}}, |
| 954 |
"id": { |
| 955 |
"type": "Identifier", |
| 956 |
"start":581,"end":582,"loc":{"start":{"line":31,"column":23,"index":581},"end":{"line":31,"column":24,"index":582},"identifierName":"x"}, |
| 957 |
"name": "x" |
| 958 |
} |
| 959 |
} |
| 960 |
}, |
| 961 |
"right": { |
| 962 |
"type": "UnaryExpression", |
| 963 |
"start":585,"end":591,"loc":{"start":{"line":31,"column":27,"index":585},"end":{"line":31,"column":33,"index":591}}, |
| 964 |
"operator": "+", |
| 965 |
"prefix": true, |
| 966 |
"argument": { |
| 967 |
"type": "Identifier", |
| 968 |
"start":586,"end":591,"loc":{"start":{"line":31,"column":28,"index":586},"end":{"line":31,"column":33,"index":591},"identifierName":"value"}, |
| 969 |
"name": "value" |
| 970 |
} |
| 971 |
} |
| 972 |
} |
| 973 |
} |
| 974 |
], |
| 975 |
"directives": [] |
| 976 |
} |
| 977 |
}, |
| 978 |
{ |
| 979 |
"type": "ClassMethod", |
| 980 |
"start":597,"end":623,"loc":{"start":{"line":33,"column":2,"index":597},"end":{"line":33,"column":28,"index":623}}, |
| 981 |
"static": false, |
| 982 |
"key": { |
| 983 |
"type": "Identifier", |
| 984 |
"start":601,"end":602,"loc":{"start":{"line":33,"column":6,"index":601},"end":{"line":33,"column":7,"index":602},"identifierName":"y"}, |
| 985 |
"name": "y" |
| 986 |
}, |
| 987 |
"computed": false, |
| 988 |
"kind": "get", |
| 989 |
"id": null, |
| 990 |
"generator": false, |
| 991 |
"async": false, |
| 992 |
"params": [], |
| 993 |
"body": { |
| 994 |
"type": "BlockStatement", |
| 995 |
"start":605,"end":623,"loc":{"start":{"line":33,"column":10,"index":605},"end":{"line":33,"column":28,"index":623}}, |
| 996 |
"body": [ |
| 997 |
{ |
| 998 |
"type": "ReturnStatement", |
| 999 |
"start":607,"end":621,"loc":{"start":{"line":33,"column":12,"index":607},"end":{"line":33,"column":26,"index":621}}, |
| 1000 |
"argument": { |
| 1001 |
"type": "MemberExpression", |
| 1002 |
"start":614,"end":621,"loc":{"start":{"line":33,"column":19,"index":614},"end":{"line":33,"column":26,"index":621}}, |
| 1003 |
"object": { |
| 1004 |
"type": "ThisExpression", |
| 1005 |
"start":614,"end":618,"loc":{"start":{"line":33,"column":19,"index":614},"end":{"line":33,"column":23,"index":618}} |
| 1006 |
}, |
| 1007 |
"computed": false, |
| 1008 |
"property": { |
| 1009 |
"type": "PrivateName", |
| 1010 |
"start":619,"end":621,"loc":{"start":{"line":33,"column":24,"index":619},"end":{"line":33,"column":26,"index":621}}, |
| 1011 |
"id": { |
| 1012 |
"type": "Identifier", |
| 1013 |
"start":620,"end":621,"loc":{"start":{"line":33,"column":25,"index":620},"end":{"line":33,"column":26,"index":621},"identifierName":"y"}, |
| 1014 |
"name": "y" |
| 1015 |
} |
| 1016 |
} |
| 1017 |
} |
| 1018 |
} |
| 1019 |
], |
| 1020 |
"directives": [] |
| 1021 |
} |
| 1022 |
}, |
| 1023 |
{ |
| 1024 |
"type": "ClassMethod", |
| 1025 |
"start":626,"end":659,"loc":{"start":{"line":34,"column":2,"index":626},"end":{"line":34,"column":35,"index":659}}, |
| 1026 |
"static": false, |
| 1027 |
"key": { |
| 1028 |
"type": "Identifier", |
| 1029 |
"start":630,"end":631,"loc":{"start":{"line":34,"column":6,"index":630},"end":{"line":34,"column":7,"index":631},"identifierName":"y"}, |
| 1030 |
"name": "y" |
| 1031 |
}, |
| 1032 |
"computed": false, |
| 1033 |
"kind": "set", |
| 1034 |
"id": null, |
| 1035 |
"generator": false, |
| 1036 |
"async": false, |
| 1037 |
"params": [ |
| 1038 |
{ |
| 1039 |
"type": "Identifier", |
| 1040 |
"start":632,"end":637,"loc":{"start":{"line":34,"column":8,"index":632},"end":{"line":34,"column":13,"index":637},"identifierName":"value"}, |
| 1041 |
"name": "value" |
| 1042 |
} |
| 1043 |
], |
| 1044 |
"body": { |
| 1045 |
"type": "BlockStatement", |
| 1046 |
"start":639,"end":659,"loc":{"start":{"line":34,"column":15,"index":639},"end":{"line":34,"column":35,"index":659}}, |
| 1047 |
"body": [ |
| 1048 |
{ |
| 1049 |
"type": "ExpressionStatement", |
| 1050 |
"start":641,"end":657,"loc":{"start":{"line":34,"column":17,"index":641},"end":{"line":34,"column":33,"index":657}}, |
| 1051 |
"expression": { |
| 1052 |
"type": "AssignmentExpression", |
| 1053 |
"start":641,"end":657,"loc":{"start":{"line":34,"column":17,"index":641},"end":{"line":34,"column":33,"index":657}}, |
| 1054 |
"operator": "=", |
| 1055 |
"left": { |
| 1056 |
"type": "MemberExpression", |
| 1057 |
"start":641,"end":648,"loc":{"start":{"line":34,"column":17,"index":641},"end":{"line":34,"column":24,"index":648}}, |
| 1058 |
"object": { |
| 1059 |
"type": "ThisExpression", |
| 1060 |
"start":641,"end":645,"loc":{"start":{"line":34,"column":17,"index":641},"end":{"line":34,"column":21,"index":645}} |
| 1061 |
}, |
| 1062 |
"computed": false, |
| 1063 |
"property": { |
| 1064 |
"type": "PrivateName", |
| 1065 |
"start":646,"end":648,"loc":{"start":{"line":34,"column":22,"index":646},"end":{"line":34,"column":24,"index":648}}, |
| 1066 |
"id": { |
| 1067 |
"type": "Identifier", |
| 1068 |
"start":647,"end":648,"loc":{"start":{"line":34,"column":23,"index":647},"end":{"line":34,"column":24,"index":648},"identifierName":"y"}, |
| 1069 |
"name": "y" |
| 1070 |
} |
| 1071 |
} |
| 1072 |
}, |
| 1073 |
"right": { |
| 1074 |
"type": "UnaryExpression", |
| 1075 |
"start":651,"end":657,"loc":{"start":{"line":34,"column":27,"index":651},"end":{"line":34,"column":33,"index":657}}, |
| 1076 |
"operator": "+", |
| 1077 |
"prefix": true, |
| 1078 |
"argument": { |
| 1079 |
"type": "Identifier", |
| 1080 |
"start":652,"end":657,"loc":{"start":{"line":34,"column":28,"index":652},"end":{"line":34,"column":33,"index":657},"identifierName":"value"}, |
| 1081 |
"name": "value" |
| 1082 |
} |
| 1083 |
} |
| 1084 |
} |
| 1085 |
} |
| 1086 |
], |
| 1087 |
"directives": [] |
| 1088 |
} |
| 1089 |
}, |
| 1090 |
{ |
| 1091 |
"type": "ClassMethod", |
| 1092 |
"start":663,"end":720,"loc":{"start":{"line":36,"column":2,"index":663},"end":{"line":36,"column":59,"index":720}}, |
| 1093 |
"static": false, |
| 1094 |
"key": { |
| 1095 |
"type": "Identifier", |
| 1096 |
"start":663,"end":669,"loc":{"start":{"line":36,"column":2,"index":663},"end":{"line":36,"column":8,"index":669},"identifierName":"equals"}, |
| 1097 |
"name": "equals" |
| 1098 |
}, |
| 1099 |
"computed": false, |
| 1100 |
"kind": "method", |
| 1101 |
"id": null, |
| 1102 |
"generator": false, |
| 1103 |
"async": false, |
| 1104 |
"params": [ |
| 1105 |
{ |
| 1106 |
"type": "Identifier", |
| 1107 |
"start":670,"end":671,"loc":{"start":{"line":36,"column":9,"index":670},"end":{"line":36,"column":10,"index":671},"identifierName":"p"}, |
| 1108 |
"name": "p" |
| 1109 |
} |
| 1110 |
], |
| 1111 |
"body": { |
| 1112 |
"type": "BlockStatement", |
| 1113 |
"start":673,"end":720,"loc":{"start":{"line":36,"column":12,"index":673},"end":{"line":36,"column":59,"index":720}}, |
| 1114 |
"body": [ |
| 1115 |
{ |
| 1116 |
"type": "ReturnStatement", |
| 1117 |
"start":675,"end":718,"loc":{"start":{"line":36,"column":14,"index":675},"end":{"line":36,"column":57,"index":718}}, |
| 1118 |
"argument": { |
| 1119 |
"type": "LogicalExpression", |
| 1120 |
"start":682,"end":718,"loc":{"start":{"line":36,"column":21,"index":682},"end":{"line":36,"column":57,"index":718}}, |
| 1121 |
"left": { |
| 1122 |
"type": "BinaryExpression", |
| 1123 |
"start":682,"end":698,"loc":{"start":{"line":36,"column":21,"index":682},"end":{"line":36,"column":37,"index":698}}, |
| 1124 |
"left": { |
| 1125 |
"type": "MemberExpression", |
| 1126 |
"start":682,"end":689,"loc":{"start":{"line":36,"column":21,"index":682},"end":{"line":36,"column":28,"index":689}}, |
| 1127 |
"object": { |
| 1128 |
"type": "ThisExpression", |
| 1129 |
"start":682,"end":686,"loc":{"start":{"line":36,"column":21,"index":682},"end":{"line":36,"column":25,"index":686}} |
| 1130 |
}, |
| 1131 |
"computed": false, |
| 1132 |
"property": { |
| 1133 |
"type": "PrivateName", |
| 1134 |
"start":687,"end":689,"loc":{"start":{"line":36,"column":26,"index":687},"end":{"line":36,"column":28,"index":689}}, |
| 1135 |
"id": { |
| 1136 |
"type": "Identifier", |
| 1137 |
"start":688,"end":689,"loc":{"start":{"line":36,"column":27,"index":688},"end":{"line":36,"column":28,"index":689},"identifierName":"x"}, |
| 1138 |
"name": "x" |
| 1139 |
} |
| 1140 |
} |
| 1141 |
}, |
| 1142 |
"operator": "===", |
| 1143 |
"right": { |
| 1144 |
"type": "MemberExpression", |
| 1145 |
"start":694,"end":698,"loc":{"start":{"line":36,"column":33,"index":694},"end":{"line":36,"column":37,"index":698}}, |
| 1146 |
"object": { |
| 1147 |
"type": "Identifier", |
| 1148 |
"start":694,"end":695,"loc":{"start":{"line":36,"column":33,"index":694},"end":{"line":36,"column":34,"index":695},"identifierName":"p"}, |
| 1149 |
"name": "p" |
| 1150 |
}, |
| 1151 |
"computed": false, |
| 1152 |
"property": { |
| 1153 |
"type": "PrivateName", |
| 1154 |
"start":696,"end":698,"loc":{"start":{"line":36,"column":35,"index":696},"end":{"line":36,"column":37,"index":698}}, |
| 1155 |
"id": { |
| 1156 |
"type": "Identifier", |
| 1157 |
"start":697,"end":698,"loc":{"start":{"line":36,"column":36,"index":697},"end":{"line":36,"column":37,"index":698},"identifierName":"x"}, |
| 1158 |
"name": "x" |
| 1159 |
} |
| 1160 |
} |
| 1161 |
} |
| 1162 |
}, |
| 1163 |
"operator": "&&", |
| 1164 |
"right": { |
| 1165 |
"type": "BinaryExpression", |
| 1166 |
"start":702,"end":718,"loc":{"start":{"line":36,"column":41,"index":702},"end":{"line":36,"column":57,"index":718}}, |
| 1167 |
"left": { |
| 1168 |
"type": "MemberExpression", |
| 1169 |
"start":702,"end":709,"loc":{"start":{"line":36,"column":41,"index":702},"end":{"line":36,"column":48,"index":709}}, |
| 1170 |
"object": { |
| 1171 |
"type": "ThisExpression", |
| 1172 |
"start":702,"end":706,"loc":{"start":{"line":36,"column":41,"index":702},"end":{"line":36,"column":45,"index":706}} |
| 1173 |
}, |
| 1174 |
"computed": false, |
| 1175 |
"property": { |
| 1176 |
"type": "PrivateName", |
| 1177 |
"start":707,"end":709,"loc":{"start":{"line":36,"column":46,"index":707},"end":{"line":36,"column":48,"index":709}}, |
| 1178 |
"id": { |
| 1179 |
"type": "Identifier", |
| 1180 |
"start":708,"end":709,"loc":{"start":{"line":36,"column":47,"index":708},"end":{"line":36,"column":48,"index":709},"identifierName":"y"}, |
| 1181 |
"name": "y" |
| 1182 |
} |
| 1183 |
} |
| 1184 |
}, |
| 1185 |
"operator": "===", |
| 1186 |
"right": { |
| 1187 |
"type": "MemberExpression", |
| 1188 |
"start":714,"end":718,"loc":{"start":{"line":36,"column":53,"index":714},"end":{"line":36,"column":57,"index":718}}, |
| 1189 |
"object": { |
| 1190 |
"type": "Identifier", |
| 1191 |
"start":714,"end":715,"loc":{"start":{"line":36,"column":53,"index":714},"end":{"line":36,"column":54,"index":715},"identifierName":"p"}, |
| 1192 |
"name": "p" |
| 1193 |
}, |
| 1194 |
"computed": false, |
| 1195 |
"property": { |
| 1196 |
"type": "PrivateName", |
| 1197 |
"start":716,"end":718,"loc":{"start":{"line":36,"column":55,"index":716},"end":{"line":36,"column":57,"index":718}}, |
| 1198 |
"id": { |
| 1199 |
"type": "Identifier", |
| 1200 |
"start":717,"end":718,"loc":{"start":{"line":36,"column":56,"index":717},"end":{"line":36,"column":57,"index":718},"identifierName":"y"}, |
| 1201 |
"name": "y" |
| 1202 |
} |
| 1203 |
} |
| 1204 |
} |
| 1205 |
} |
| 1206 |
} |
| 1207 |
} |
| 1208 |
], |
| 1209 |
"directives": [] |
| 1210 |
} |
| 1211 |
}, |
| 1212 |
{ |
| 1213 |
"type": "ClassMethod", |
| 1214 |
"start":724,"end":780,"loc":{"start":{"line":38,"column":2,"index":724},"end":{"line":38,"column":58,"index":780}}, |
| 1215 |
"static": false, |
| 1216 |
"key": { |
| 1217 |
"type": "Identifier", |
| 1218 |
"start":724,"end":732,"loc":{"start":{"line":38,"column":2,"index":724},"end":{"line":38,"column":10,"index":732},"identifierName":"toString"}, |
| 1219 |
"name": "toString" |
| 1220 |
}, |
| 1221 |
"computed": false, |
| 1222 |
"kind": "method", |
| 1223 |
"id": null, |
| 1224 |
"generator": false, |
| 1225 |
"async": false, |
| 1226 |
"params": [], |
| 1227 |
"body": { |
| 1228 |
"type": "BlockStatement", |
| 1229 |
"start":735,"end":780,"loc":{"start":{"line":38,"column":13,"index":735},"end":{"line":38,"column":58,"index":780}}, |
| 1230 |
"body": [ |
| 1231 |
{ |
| 1232 |
"type": "ReturnStatement", |
| 1233 |
"start":737,"end":778,"loc":{"start":{"line":38,"column":15,"index":737},"end":{"line":38,"column":56,"index":778}}, |
| 1234 |
"argument": { |
| 1235 |
"type": "TemplateLiteral", |
| 1236 |
"start":744,"end":778,"loc":{"start":{"line":38,"column":22,"index":744},"end":{"line":38,"column":56,"index":778}}, |
| 1237 |
"expressions": [ |
| 1238 |
{ |
| 1239 |
"type": "MemberExpression", |
| 1240 |
"start":754,"end":761,"loc":{"start":{"line":38,"column":32,"index":754},"end":{"line":38,"column":39,"index":761}}, |
| 1241 |
"object": { |
| 1242 |
"type": "ThisExpression", |
| 1243 |
"start":754,"end":758,"loc":{"start":{"line":38,"column":32,"index":754},"end":{"line":38,"column":36,"index":758}} |
| 1244 |
}, |
| 1245 |
"computed": false, |
| 1246 |
"property": { |
| 1247 |
"type": "PrivateName", |
| 1248 |
"start":759,"end":761,"loc":{"start":{"line":38,"column":37,"index":759},"end":{"line":38,"column":39,"index":761}}, |
| 1249 |
"id": { |
| 1250 |
"type": "Identifier", |
| 1251 |
"start":760,"end":761,"loc":{"start":{"line":38,"column":38,"index":760},"end":{"line":38,"column":39,"index":761},"identifierName":"x"}, |
| 1252 |
"name": "x" |
| 1253 |
} |
| 1254 |
} |
| 1255 |
}, |
| 1256 |
{ |
| 1257 |
"type": "MemberExpression", |
| 1258 |
"start":767,"end":774,"loc":{"start":{"line":38,"column":45,"index":767},"end":{"line":38,"column":52,"index":774}}, |
| 1259 |
"object": { |
| 1260 |
"type": "ThisExpression", |
| 1261 |
"start":767,"end":771,"loc":{"start":{"line":38,"column":45,"index":767},"end":{"line":38,"column":49,"index":771}} |
| 1262 |
}, |
| 1263 |
"computed": false, |
| 1264 |
"property": { |
| 1265 |
"type": "PrivateName", |
| 1266 |
"start":772,"end":774,"loc":{"start":{"line":38,"column":50,"index":772},"end":{"line":38,"column":52,"index":774}}, |
| 1267 |
"id": { |
| 1268 |
"type": "Identifier", |
| 1269 |
"start":773,"end":774,"loc":{"start":{"line":38,"column":51,"index":773},"end":{"line":38,"column":52,"index":774},"identifierName":"y"}, |
| 1270 |
"name": "y" |
| 1271 |
} |
| 1272 |
} |
| 1273 |
} |
| 1274 |
], |
| 1275 |
"quasis": [ |
| 1276 |
{ |
| 1277 |
"type": "TemplateElement", |
| 1278 |
"start":745,"end":751,"loc":{"start":{"line":38,"column":23,"index":745},"end":{"line":38,"column":29,"index":751}}, |
| 1279 |
"value": { |
| 1280 |
"raw": "Point<", |
| 1281 |
"cooked": "Point<" |
| 1282 |
}, |
| 1283 |
"tail": false |
| 1284 |
}, |
| 1285 |
{ |
| 1286 |
"type": "TemplateElement", |
| 1287 |
"start":763,"end":764,"loc":{"start":{"line":38,"column":41,"index":763},"end":{"line":38,"column":42,"index":764}}, |
| 1288 |
"value": { |
| 1289 |
"raw": ",", |
| 1290 |
"cooked": "," |
| 1291 |
}, |
| 1292 |
"tail": false |
| 1293 |
}, |
| 1294 |
{ |
| 1295 |
"type": "TemplateElement", |
| 1296 |
"start":776,"end":777,"loc":{"start":{"line":38,"column":54,"index":776},"end":{"line":38,"column":55,"index":777}}, |
| 1297 |
"value": { |
| 1298 |
"raw": ">", |
| 1299 |
"cooked": ">" |
| 1300 |
}, |
| 1301 |
"tail": true |
| 1302 |
} |
| 1303 |
] |
| 1304 |
} |
| 1305 |
} |
| 1306 |
], |
| 1307 |
"directives": [] |
| 1308 |
} |
| 1309 |
} |
| 1310 |
] |
| 1311 |
} |
| 1312 |
} |
| 1313 |
], |
| 1314 |
"directives": [] |
| 1315 |
} |
| 1316 |
} |