69 lines
2.5 KiB
JSON
69 lines
2.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},
|
|
"errors": [
|
|
"SyntaxError: Unsyntactic break (1:33)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},
|
|
"body": {
|
|
"type": "WhileStatement",
|
|
"start":3,"end":45,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":45}},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"start":10,"end":14,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}},
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":16,"end":45,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":45}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":18,"end":43,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":43}},
|
|
"expression": {
|
|
"type": "FunctionExpression",
|
|
"start":19,"end":41,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":41}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":31,"end":41,"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":41}},
|
|
"body": [
|
|
{
|
|
"type": "BreakStatement",
|
|
"start":33,"end":39,"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":39}},
|
|
"label": null
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 18
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |