| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":111,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":10,"column":1,"index":111}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Unsyntactic break. (6:8)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":111,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":10,"column":1,"index":111}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "SwitchStatement", |
| 15 |
"start":0,"end":111,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":10,"column":1,"index":111}}, |
| 16 |
"discriminant": { |
| 17 |
"type": "NumericLiteral", |
| 18 |
"start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9}}, |
| 19 |
"extra": { |
| 20 |
"rawValue": 0, |
| 21 |
"raw": "0" |
| 22 |
}, |
| 23 |
"value": 0 |
| 24 |
}, |
| 25 |
"cases": [ |
| 26 |
{ |
| 27 |
"type": "SwitchCase", |
| 28 |
"start":15,"end":109,"loc":{"start":{"line":2,"column":2,"index":15},"end":{"line":9,"column":3,"index":109}}, |
| 29 |
"consequent": [ |
| 30 |
{ |
| 31 |
"type": "BlockStatement", |
| 32 |
"start":24,"end":109,"loc":{"start":{"line":2,"column":11,"index":24},"end":{"line":9,"column":3,"index":109}}, |
| 33 |
"body": [ |
| 34 |
{ |
| 35 |
"type": "ClassDeclaration", |
| 36 |
"start":30,"end":105,"loc":{"start":{"line":3,"column":4,"index":30},"end":{"line":8,"column":5,"index":105}}, |
| 37 |
"id": { |
| 38 |
"type": "Identifier", |
| 39 |
"start":36,"end":37,"loc":{"start":{"line":3,"column":10,"index":36},"end":{"line":3,"column":11,"index":37},"identifierName":"C"}, |
| 40 |
"name": "C" |
| 41 |
}, |
| 42 |
"superClass": null, |
| 43 |
"body": { |
| 44 |
"type": "ClassBody", |
| 45 |
"start":38,"end":105,"loc":{"start":{"line":3,"column":12,"index":38},"end":{"line":8,"column":5,"index":105}}, |
| 46 |
"body": [ |
| 47 |
{ |
| 48 |
"type": "ClassMethod", |
| 49 |
"start":46,"end":61,"loc":{"start":{"line":4,"column":6,"index":46},"end":{"line":4,"column":21,"index":61}}, |
| 50 |
"static": true, |
| 51 |
"key": { |
| 52 |
"type": "Identifier", |
| 53 |
"start":53,"end":56,"loc":{"start":{"line":4,"column":13,"index":53},"end":{"line":4,"column":16,"index":56},"identifierName":"foo"}, |
| 54 |
"name": "foo" |
| 55 |
}, |
| 56 |
"computed": false, |
| 57 |
"kind": "method", |
| 58 |
"id": null, |
| 59 |
"generator": false, |
| 60 |
"async": false, |
| 61 |
"params": [], |
| 62 |
"body": { |
| 63 |
"type": "BlockStatement", |
| 64 |
"start":59,"end":61,"loc":{"start":{"line":4,"column":19,"index":59},"end":{"line":4,"column":21,"index":61}}, |
| 65 |
"body": [], |
| 66 |
"directives": [] |
| 67 |
} |
| 68 |
}, |
| 69 |
{ |
| 70 |
"type": "StaticBlock", |
| 71 |
"start":68,"end":99,"loc":{"start":{"line":5,"column":6,"index":68},"end":{"line":7,"column":7,"index":99}}, |
| 72 |
"body": [ |
| 73 |
{ |
| 74 |
"type": "BreakStatement", |
| 75 |
"start":85,"end":91,"loc":{"start":{"line":6,"column":8,"index":85},"end":{"line":6,"column":14,"index":91}}, |
| 76 |
"label": null |
| 77 |
} |
| 78 |
] |
| 79 |
} |
| 80 |
] |
| 81 |
} |
| 82 |
} |
| 83 |
], |
| 84 |
"directives": [] |
| 85 |
} |
| 86 |
], |
| 87 |
"test": null |
| 88 |
} |
| 89 |
] |
| 90 |
} |
| 91 |
], |
| 92 |
"directives": [] |
| 93 |
} |
| 94 |
} |