Files

95 lines
4.0 KiB
JSON

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