jdk-24/nashorn/test/script/basic/parser/continueStat.js.EXPECTED

93 lines
2.6 KiB
Plaintext
Raw Normal View History

{
"type": "Program",
"body": [
{
"type": "WhileStatement",
"test": {
"type": "Literal",
"value": true
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ContinueStatement",
"label": null
}
]
}
}
]
}
{
"type": "Program",
"body": [
{
"type": "LabeledStatement",
"label": {
"type": "Identifier",
"name": "begin"
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "WhileStatement",
"test": {
"type": "Literal",
"value": true
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ContinueStatement",
"label": {
"type": "Identifier",
"name": "begin"
}
}
]
}
}
]
}
}
]
}
{
"type": "Program",
"body": [
{
"type": "LabeledStatement",
"label": {
"type": "Identifier",
"name": "start"
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ForStatement",
"init": null,
"test": null,
"update": null,
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ContinueStatement",
"label": {
"type": "Identifier",
"name": "start"
}
}
]
}
}
]
}
}
]
}