mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
130 lines
3.3 KiB
JSON
130 lines
3.3 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 61,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 61,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 4,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TWO",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "WhileStatement",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 61,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 13,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 61,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 26,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrowFunctionExpression",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 36,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ContinueStatement",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 54,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TWO",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"async": false,
|
|
"generator": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|