jdk-24/test/nashorn/script/basic/parser/breakStat.js.EXPECTED
2017-09-12 19:03:39 +02:00

81 lines
2.1 KiB
Plaintext

{
"type": "Program",
"body": [
{
"type": "WhileStatement",
"test": {
"type": "Literal",
"value": true
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "BreakStatement",
"label": null
}
]
}
}
]
}
{
"type": "Program",
"body": [
{
"type": "LabeledStatement",
"label": "loop",
"body": {
"type": "BlockStatement",
"body": [
{
"type": "WhileStatement",
"test": {
"type": "Literal",
"value": true
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "BreakStatement",
"label": "loop"
}
]
}
}
]
}
}
]
}
{
"type": "Program",
"body": [
{
"type": "LabeledStatement",
"label": "loop",
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ForStatement",
"init": null,
"test": null,
"update": null,
"body": {
"type": "BlockStatement",
"body": [
{
"type": "BreakStatement",
"label": "loop"
}
]
}
}
]
}
}
]
}