|
| 1 | +{ |
| 2 | + "type": "File", |
| 3 | + "start":0,"end":64,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}}, |
| 4 | + "program": { |
| 5 | + "type": "Program", |
| 6 | + "start":0,"end":64,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}}, |
| 7 | + "sourceType": "script", |
| 8 | + "interpreter": null, |
| 9 | + "body": [ |
| 10 | + { |
| 11 | + "type": "ClassDeclaration", |
| 12 | + "start":0,"end":64,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}}, |
| 13 | + "id": { |
| 14 | + "type": "Identifier", |
| 15 | + "start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7},"identifierName":"A"}, |
| 16 | + "name": "A" |
| 17 | + }, |
| 18 | + "superClass": null, |
| 19 | + "body": { |
| 20 | + "type": "ClassBody", |
| 21 | + "start":8,"end":64,"loc":{"start":{"line":1,"column":8},"end":{"line":5,"column":1}}, |
| 22 | + "body": [ |
| 23 | + { |
| 24 | + "type": "ClassAccessorProperty", |
| 25 | + "start":12,"end":25,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":15}}, |
| 26 | + "static": false, |
| 27 | + "key": { |
| 28 | + "type": "Identifier", |
| 29 | + "start":21,"end":24,"loc":{"start":{"line":2,"column":11},"end":{"line":2,"column":14},"identifierName":"foo"}, |
| 30 | + "name": "foo" |
| 31 | + }, |
| 32 | + "computed": false, |
| 33 | + "value": null |
| 34 | + }, |
| 35 | + { |
| 36 | + "type": "ClassAccessorProperty", |
| 37 | + "start":28,"end":45,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":19}}, |
| 38 | + "static": false, |
| 39 | + "key": { |
| 40 | + "type": "Identifier", |
| 41 | + "start":37,"end":40,"loc":{"start":{"line":3,"column":11},"end":{"line":3,"column":14},"identifierName":"bar"}, |
| 42 | + "name": "bar" |
| 43 | + }, |
| 44 | + "computed": false, |
| 45 | + "value": { |
| 46 | + "type": "Literal", |
| 47 | + "start":43,"end":44,"loc":{"start":{"line":3,"column":17},"end":{"line":3,"column":18}}, |
| 48 | + "value": 0, |
| 49 | + "raw": "0" |
| 50 | + } |
| 51 | + }, |
| 52 | + { |
| 53 | + "type": "ClassAccessorProperty", |
| 54 | + "start":48,"end":62,"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":16}}, |
| 55 | + "static": false, |
| 56 | + "key": { |
| 57 | + "type": "PrivateName", |
| 58 | + "start":57,"end":61,"loc":{"start":{"line":4,"column":11},"end":{"line":4,"column":15}}, |
| 59 | + "id": { |
| 60 | + "type": "Identifier", |
| 61 | + "start":58,"end":61,"loc":{"start":{"line":4,"column":12},"end":{"line":4,"column":15},"identifierName":"qux"}, |
| 62 | + "name": "qux" |
| 63 | + } |
| 64 | + }, |
| 65 | + "computed": false, |
| 66 | + "value": null |
| 67 | + } |
| 68 | + ] |
| 69 | + } |
| 70 | + } |
| 71 | + ] |
| 72 | + } |
| 73 | +} |
0 commit comments