64fd9c191a
Reviewed-by: hannesw, lagergren
60 lines
1.7 KiB
Plaintext
60 lines
1.7 KiB
Plaintext
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"label": "begin",
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "ForStatement",
|
|
"init": null,
|
|
"test": null,
|
|
"update": null,
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "BreakStatement",
|
|
"label": "begin"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"label": "begin",
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "WhileStatement",
|
|
"test": {
|
|
"type": "Literal",
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"body": [
|
|
{
|
|
"type": "BreakStatement",
|
|
"label": "begin"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|