| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: 'super' is only allowed in object methods and classes. (1:0)", |
| 6 | "SyntaxError: 'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]). (1:0)" |
| 7 | ], |
| 8 | "program": { |
| 9 | "type": "Program", |
| 10 | "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}}, |
| 11 | "sourceType": "script", |
| 12 | "interpreter": null, |
| 13 | "body": [ |
| 14 | { |
| 15 | "type": "ExpressionStatement", |
| 16 | "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}}, |
| 17 | "expression": { |
| 18 | "type": "Super", |
| 19 | "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}} |
| 20 | } |
| 21 | } |
| 22 | ], |
| 23 | "directives": [] |
| 24 | } |
| 25 | } |