| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":239,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":42,"column":1,"index":239}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":239,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":42,"column":1,"index":239}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ClassDeclaration", |
| 12 |
"start":0,"end":239,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":42,"column":1,"index":239}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"}, |
| 16 |
"name": "A" |
| 17 |
}, |
| 18 |
"superClass": null, |
| 19 |
"body": { |
| 20 |
"type": "ClassBody", |
| 21 |
"start":8,"end":239,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":42,"column":1,"index":239}}, |
| 22 |
"body": [ |
| 23 |
{ |
| 24 |
"type": "ClassMethod", |
| 25 |
"start":12,"end":27,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":4,"column":7,"index":27}}, |
| 26 |
"static": false, |
| 27 |
"key": { |
| 28 |
"type": "Identifier", |
| 29 |
"start":18,"end":19,"loc":{"start":{"line":3,"column":2,"index":18},"end":{"line":3,"column":3,"index":19},"identifierName":"a"}, |
| 30 |
"name": "a" |
| 31 |
}, |
| 32 |
"computed": false, |
| 33 |
"kind": "get", |
| 34 |
"id": null, |
| 35 |
"generator": false, |
| 36 |
"async": false, |
| 37 |
"params": [], |
| 38 |
"body": { |
| 39 |
"type": "BlockStatement", |
| 40 |
"start":25,"end":27,"loc":{"start":{"line":4,"column":5,"index":25},"end":{"line":4,"column":7,"index":27}}, |
| 41 |
"body": [], |
| 42 |
"directives": [] |
| 43 |
} |
| 44 |
}, |
| 45 |
{ |
| 46 |
"type": "ClassMethod", |
| 47 |
"start":31,"end":47,"loc":{"start":{"line":6,"column":2,"index":31},"end":{"line":8,"column":8,"index":47}}, |
| 48 |
"static": false, |
| 49 |
"key": { |
| 50 |
"type": "Identifier", |
| 51 |
"start":37,"end":38,"loc":{"start":{"line":7,"column":2,"index":37},"end":{"line":7,"column":3,"index":38},"identifierName":"a"}, |
| 52 |
"name": "a" |
| 53 |
}, |
| 54 |
"computed": false, |
| 55 |
"kind": "set", |
| 56 |
"id": null, |
| 57 |
"generator": false, |
| 58 |
"async": false, |
| 59 |
"params": [ |
| 60 |
{ |
| 61 |
"type": "Identifier", |
| 62 |
"start":42,"end":43,"loc":{"start":{"line":8,"column":3,"index":42},"end":{"line":8,"column":4,"index":43},"identifierName":"a"}, |
| 63 |
"name": "a" |
| 64 |
} |
| 65 |
], |
| 66 |
"body": { |
| 67 |
"type": "BlockStatement", |
| 68 |
"start":45,"end":47,"loc":{"start":{"line":8,"column":6,"index":45},"end":{"line":8,"column":8,"index":47}}, |
| 69 |
"body": [], |
| 70 |
"directives": [] |
| 71 |
} |
| 72 |
}, |
| 73 |
{ |
| 74 |
"type": "ClassMethod", |
| 75 |
"start":51,"end":70,"loc":{"start":{"line":10,"column":2,"index":51},"end":{"line":11,"column":7,"index":70}}, |
| 76 |
"static": false, |
| 77 |
"key": { |
| 78 |
"type": "Identifier", |
| 79 |
"start":51,"end":62,"loc":{"start":{"line":10,"column":2,"index":51},"end":{"line":10,"column":13,"index":62},"identifierName":"constructor"}, |
| 80 |
"name": "constructor" |
| 81 |
}, |
| 82 |
"computed": false, |
| 83 |
"kind": "constructor", |
| 84 |
"id": null, |
| 85 |
"generator": false, |
| 86 |
"async": false, |
| 87 |
"params": [], |
| 88 |
"body": { |
| 89 |
"type": "BlockStatement", |
| 90 |
"start":68,"end":70,"loc":{"start":{"line":11,"column":5,"index":68},"end":{"line":11,"column":7,"index":70}}, |
| 91 |
"body": [], |
| 92 |
"directives": [] |
| 93 |
} |
| 94 |
}, |
| 95 |
{ |
| 96 |
"type": "ClassMethod", |
| 97 |
"start":74,"end":83,"loc":{"start":{"line":13,"column":2,"index":74},"end":{"line":14,"column":7,"index":83}}, |
| 98 |
"static": false, |
| 99 |
"key": { |
| 100 |
"type": "Identifier", |
| 101 |
"start":74,"end":75,"loc":{"start":{"line":13,"column":2,"index":74},"end":{"line":13,"column":3,"index":75},"identifierName":"a"}, |
| 102 |
"name": "a" |
| 103 |
}, |
| 104 |
"computed": false, |
| 105 |
"kind": "method", |
| 106 |
"id": null, |
| 107 |
"generator": false, |
| 108 |
"async": false, |
| 109 |
"params": [], |
| 110 |
"body": { |
| 111 |
"type": "BlockStatement", |
| 112 |
"start":81,"end":83,"loc":{"start":{"line":14,"column":5,"index":81},"end":{"line":14,"column":7,"index":83}}, |
| 113 |
"body": [], |
| 114 |
"directives": [] |
| 115 |
} |
| 116 |
}, |
| 117 |
{ |
| 118 |
"type": "ClassMethod", |
| 119 |
"start":87,"end":100,"loc":{"start":{"line":16,"column":2,"index":87},"end":{"line":18,"column":7,"index":100}}, |
| 120 |
"static": false, |
| 121 |
"kind": "method", |
| 122 |
"key": { |
| 123 |
"type": "Identifier", |
| 124 |
"start":91,"end":92,"loc":{"start":{"line":17,"column":2,"index":91},"end":{"line":17,"column":3,"index":92},"identifierName":"a"}, |
| 125 |
"name": "a" |
| 126 |
}, |
| 127 |
"computed": false, |
| 128 |
"id": null, |
| 129 |
"generator": true, |
| 130 |
"async": false, |
| 131 |
"params": [], |
| 132 |
"body": { |
| 133 |
"type": "BlockStatement", |
| 134 |
"start":98,"end":100,"loc":{"start":{"line":18,"column":5,"index":98},"end":{"line":18,"column":7,"index":100}}, |
| 135 |
"body": [], |
| 136 |
"directives": [] |
| 137 |
} |
| 138 |
}, |
| 139 |
{ |
| 140 |
"type": "ClassMethod", |
| 141 |
"start":104,"end":128,"loc":{"start":{"line":20,"column":2,"index":104},"end":{"line":23,"column":7,"index":128}}, |
| 142 |
"static": true, |
| 143 |
"key": { |
| 144 |
"type": "Identifier", |
| 145 |
"start":119,"end":120,"loc":{"start":{"line":22,"column":2,"index":119},"end":{"line":22,"column":3,"index":120},"identifierName":"a"}, |
| 146 |
"name": "a" |
| 147 |
}, |
| 148 |
"computed": false, |
| 149 |
"kind": "get", |
| 150 |
"id": null, |
| 151 |
"generator": false, |
| 152 |
"async": false, |
| 153 |
"params": [], |
| 154 |
"body": { |
| 155 |
"type": "BlockStatement", |
| 156 |
"start":126,"end":128,"loc":{"start":{"line":23,"column":5,"index":126},"end":{"line":23,"column":7,"index":128}}, |
| 157 |
"body": [], |
| 158 |
"directives": [] |
| 159 |
} |
| 160 |
}, |
| 161 |
{ |
| 162 |
"type": "ClassMethod", |
| 163 |
"start":132,"end":157,"loc":{"start":{"line":25,"column":2,"index":132},"end":{"line":28,"column":8,"index":157}}, |
| 164 |
"static": true, |
| 165 |
"key": { |
| 166 |
"type": "Identifier", |
| 167 |
"start":147,"end":148,"loc":{"start":{"line":27,"column":2,"index":147},"end":{"line":27,"column":3,"index":148},"identifierName":"a"}, |
| 168 |
"name": "a" |
| 169 |
}, |
| 170 |
"computed": false, |
| 171 |
"kind": "set", |
| 172 |
"id": null, |
| 173 |
"generator": false, |
| 174 |
"async": false, |
| 175 |
"params": [ |
| 176 |
{ |
| 177 |
"type": "Identifier", |
| 178 |
"start":152,"end":153,"loc":{"start":{"line":28,"column":3,"index":152},"end":{"line":28,"column":4,"index":153},"identifierName":"a"}, |
| 179 |
"name": "a" |
| 180 |
} |
| 181 |
], |
| 182 |
"body": { |
| 183 |
"type": "BlockStatement", |
| 184 |
"start":155,"end":157,"loc":{"start":{"line":28,"column":6,"index":155},"end":{"line":28,"column":8,"index":157}}, |
| 185 |
"body": [], |
| 186 |
"directives": [] |
| 187 |
} |
| 188 |
}, |
| 189 |
{ |
| 190 |
"type": "ClassMethod", |
| 191 |
"start":161,"end":189,"loc":{"start":{"line":30,"column":2,"index":161},"end":{"line":32,"column":7,"index":189}}, |
| 192 |
"static": true, |
| 193 |
"key": { |
| 194 |
"type": "Identifier", |
| 195 |
"start":170,"end":181,"loc":{"start":{"line":31,"column":2,"index":170},"end":{"line":31,"column":13,"index":181},"identifierName":"constructor"}, |
| 196 |
"name": "constructor" |
| 197 |
}, |
| 198 |
"computed": false, |
| 199 |
"kind": "method", |
| 200 |
"id": null, |
| 201 |
"generator": false, |
| 202 |
"async": false, |
| 203 |
"params": [], |
| 204 |
"body": { |
| 205 |
"type": "BlockStatement", |
| 206 |
"start":187,"end":189,"loc":{"start":{"line":32,"column":5,"index":187},"end":{"line":32,"column":7,"index":189}}, |
| 207 |
"body": [], |
| 208 |
"directives": [] |
| 209 |
} |
| 210 |
}, |
| 211 |
{ |
| 212 |
"type": "ClassMethod", |
| 213 |
"start":193,"end":211,"loc":{"start":{"line":34,"column":2,"index":193},"end":{"line":36,"column":7,"index":211}}, |
| 214 |
"static": true, |
| 215 |
"key": { |
| 216 |
"type": "Identifier", |
| 217 |
"start":202,"end":203,"loc":{"start":{"line":35,"column":2,"index":202},"end":{"line":35,"column":3,"index":203},"identifierName":"a"}, |
| 218 |
"name": "a" |
| 219 |
}, |
| 220 |
"computed": false, |
| 221 |
"kind": "method", |
| 222 |
"id": null, |
| 223 |
"generator": false, |
| 224 |
"async": false, |
| 225 |
"params": [], |
| 226 |
"body": { |
| 227 |
"type": "BlockStatement", |
| 228 |
"start":209,"end":211,"loc":{"start":{"line":36,"column":5,"index":209},"end":{"line":36,"column":7,"index":211}}, |
| 229 |
"body": [], |
| 230 |
"directives": [] |
| 231 |
} |
| 232 |
}, |
| 233 |
{ |
| 234 |
"type": "ClassMethod", |
| 235 |
"start":215,"end":237,"loc":{"start":{"line":38,"column":2,"index":215},"end":{"line":41,"column":7,"index":237}}, |
| 236 |
"static": true, |
| 237 |
"kind": "method", |
| 238 |
"key": { |
| 239 |
"type": "Identifier", |
| 240 |
"start":228,"end":229,"loc":{"start":{"line":40,"column":2,"index":228},"end":{"line":40,"column":3,"index":229},"identifierName":"a"}, |
| 241 |
"name": "a" |
| 242 |
}, |
| 243 |
"computed": false, |
| 244 |
"id": null, |
| 245 |
"generator": true, |
| 246 |
"async": false, |
| 247 |
"params": [], |
| 248 |
"body": { |
| 249 |
"type": "BlockStatement", |
| 250 |
"start":235,"end":237,"loc":{"start":{"line":41,"column":5,"index":235},"end":{"line":41,"column":7,"index":237}}, |
| 251 |
"body": [], |
| 252 |
"directives": [] |
| 253 |
} |
| 254 |
} |
| 255 |
] |
| 256 |
} |
| 257 |
} |
| 258 |
], |
| 259 |
"directives": [] |
| 260 |
} |
| 261 |
} |