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