64fd9c191a
Reviewed-by: hannesw, lagergren
81 lines
2.1 KiB
Plaintext
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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|