41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":25,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}},
|
|
"errors": [
|
|
"SyntaxError: Unsyntactic break (1:15)"
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":25,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "WhileStatement",
|
|
"start":0,"end":25,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"start":7,"end":11,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}},
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":13,"end":25,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":25}},
|
|
"body": [
|
|
{
|
|
"type": "BreakStatement",
|
|
"start":15,"end":23,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":23}},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"start":21,"end":22,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |