94 lines
3.7 KiB
JSON
94 lines
3.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":111,"loc":{"start":{"line":1,"column":0},"end":{"line":10,"column":1}},
|
|
"errors": [
|
|
"SyntaxError: Unsyntactic break (6:8)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":111,"loc":{"start":{"line":1,"column":0},"end":{"line":10,"column":1}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "SwitchStatement",
|
|
"start":0,"end":111,"loc":{"start":{"line":1,"column":0},"end":{"line":10,"column":1}},
|
|
"discriminant": {
|
|
"type": "NumericLiteral",
|
|
"start":8,"end":9,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}},
|
|
"extra": {
|
|
"rawValue": 0,
|
|
"raw": "0"
|
|
},
|
|
"value": 0
|
|
},
|
|
"cases": [
|
|
{
|
|
"type": "SwitchCase",
|
|
"start":15,"end":109,"loc":{"start":{"line":2,"column":2},"end":{"line":9,"column":3}},
|
|
"consequent": [
|
|
{
|
|
"type": "BlockStatement",
|
|
"start":24,"end":109,"loc":{"start":{"line":2,"column":11},"end":{"line":9,"column":3}},
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":30,"end":105,"loc":{"start":{"line":3,"column":4},"end":{"line":8,"column":5}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":36,"end":37,"loc":{"start":{"line":3,"column":10},"end":{"line":3,"column":11},"identifierName":"C"},
|
|
"name": "C"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":38,"end":105,"loc":{"start":{"line":3,"column":12},"end":{"line":8,"column":5}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":46,"end":61,"loc":{"start":{"line":4,"column":6},"end":{"line":4,"column":21}},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":53,"end":56,"loc":{"start":{"line":4,"column":13},"end":{"line":4,"column":16},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":59,"end":61,"loc":{"start":{"line":4,"column":19},"end":{"line":4,"column":21}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "StaticBlock",
|
|
"start":68,"end":99,"loc":{"start":{"line":5,"column":6},"end":{"line":7,"column":7}},
|
|
"body": [
|
|
{
|
|
"type": "BreakStatement",
|
|
"start":85,"end":91,"loc":{"start":{"line":6,"column":8},"end":{"line":6,"column":14}},
|
|
"label": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
],
|
|
"test": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |