jdk-24/nashorn/test/script/basic/parser/continueStat.js.EXPECTED
Athijegannathan Sundararajan a122ebe169 8024693: Various minor issues with JSONWriter used by script parser API
Reviewed-by: jlaskey, hannesw
2013-09-12 22:16:40 +05:30

93 lines
2.6 KiB
Plaintext

{
"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"
}
}
]
}
}
]
}
}
]
}