| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":92,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":92}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":92,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":92}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ClassDeclaration", |
| 12 |
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":29}}, |
| 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":"B"}, |
| 16 |
"name": "B" |
| 17 |
}, |
| 18 |
"superClass": null, |
| 19 |
"body": { |
| 20 |
"type": "ClassBody", |
| 21 |
"start":8,"end":29,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":29}}, |
| 22 |
"body": [ |
| 23 |
{ |
| 24 |
"type": "ClassMethod", |
| 25 |
"start":12,"end":27,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":17,"index":27}}, |
| 26 |
"static": true, |
| 27 |
"key": { |
| 28 |
"type": "Identifier", |
| 29 |
"start":19,"end":22,"loc":{"start":{"line":2,"column":9,"index":19},"end":{"line":2,"column":12,"index":22},"identifierName":"foo"}, |
| 30 |
"name": "foo" |
| 31 |
}, |
| 32 |
"computed": false, |
| 33 |
"kind": "method", |
| 34 |
"id": null, |
| 35 |
"generator": false, |
| 36 |
"async": false, |
| 37 |
"params": [], |
| 38 |
"body": { |
| 39 |
"type": "BlockStatement", |
| 40 |
"start":25,"end":27,"loc":{"start":{"line":2,"column":15,"index":25},"end":{"line":2,"column":17,"index":27}}, |
| 41 |
"body": [], |
| 42 |
"directives": [] |
| 43 |
} |
| 44 |
} |
| 45 |
] |
| 46 |
} |
| 47 |
}, |
| 48 |
{ |
| 49 |
"type": "ClassDeclaration", |
| 50 |
"start":30,"end":92,"loc":{"start":{"line":4,"column":0,"index":30},"end":{"line":8,"column":1,"index":92}}, |
| 51 |
"id": { |
| 52 |
"type": "Identifier", |
| 53 |
"start":36,"end":37,"loc":{"start":{"line":4,"column":6,"index":36},"end":{"line":4,"column":7,"index":37},"identifierName":"C"}, |
| 54 |
"name": "C" |
| 55 |
}, |
| 56 |
"superClass": { |
| 57 |
"type": "Identifier", |
| 58 |
"start":46,"end":47,"loc":{"start":{"line":4,"column":16,"index":46},"end":{"line":4,"column":17,"index":47},"identifierName":"B"}, |
| 59 |
"name": "B" |
| 60 |
}, |
| 61 |
"body": { |
| 62 |
"type": "ClassBody", |
| 63 |
"start":48,"end":92,"loc":{"start":{"line":4,"column":18,"index":48},"end":{"line":8,"column":1,"index":92}}, |
| 64 |
"body": [ |
| 65 |
{ |
| 66 |
"type": "StaticBlock", |
| 67 |
"start":52,"end":90,"loc":{"start":{"line":5,"column":2,"index":52},"end":{"line":7,"column":3,"index":90}}, |
| 68 |
"body": [ |
| 69 |
{ |
| 70 |
"type": "ExpressionStatement", |
| 71 |
"start":65,"end":86,"loc":{"start":{"line":6,"column":4,"index":65},"end":{"line":6,"column":25,"index":86}}, |
| 72 |
"expression": { |
| 73 |
"type": "AssignmentExpression", |
| 74 |
"start":65,"end":85,"loc":{"start":{"line":6,"column":4,"index":65},"end":{"line":6,"column":24,"index":85}}, |
| 75 |
"operator": "=", |
| 76 |
"left": { |
| 77 |
"type": "MemberExpression", |
| 78 |
"start":65,"end":73,"loc":{"start":{"line":6,"column":4,"index":65},"end":{"line":6,"column":12,"index":73}}, |
| 79 |
"object": { |
| 80 |
"type": "ThisExpression", |
| 81 |
"start":65,"end":69,"loc":{"start":{"line":6,"column":4,"index":65},"end":{"line":6,"column":8,"index":69}} |
| 82 |
}, |
| 83 |
"computed": false, |
| 84 |
"property": { |
| 85 |
"type": "Identifier", |
| 86 |
"start":70,"end":73,"loc":{"start":{"line":6,"column":9,"index":70},"end":{"line":6,"column":12,"index":73},"identifierName":"bar"}, |
| 87 |
"name": "bar" |
| 88 |
} |
| 89 |
}, |
| 90 |
"right": { |
| 91 |
"type": "MemberExpression", |
| 92 |
"start":76,"end":85,"loc":{"start":{"line":6,"column":15,"index":76},"end":{"line":6,"column":24,"index":85}}, |
| 93 |
"object": { |
| 94 |
"type": "Super", |
| 95 |
"start":76,"end":81,"loc":{"start":{"line":6,"column":15,"index":76},"end":{"line":6,"column":20,"index":81}} |
| 96 |
}, |
| 97 |
"computed": false, |
| 98 |
"property": { |
| 99 |
"type": "Identifier", |
| 100 |
"start":82,"end":85,"loc":{"start":{"line":6,"column":21,"index":82},"end":{"line":6,"column":24,"index":85},"identifierName":"foo"}, |
| 101 |
"name": "foo" |
| 102 |
} |
| 103 |
} |
| 104 |
} |
| 105 |
} |
| 106 |
] |
| 107 |
} |
| 108 |
] |
| 109 |
} |
| 110 |
} |
| 111 |
], |
| 112 |
"directives": [] |
| 113 |
} |
| 114 |
} |