mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
136 lines
3.4 KiB
JSON
136 lines
3.4 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 112,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 112,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "WhileStatement",
|
|
"span": {
|
|
"start": 38,
|
|
"end": 112,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 45,
|
|
"end": 49,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 112,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 64,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 55,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 68,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "LabeledStatement",
|
|
"span": {
|
|
"start": 74,
|
|
"end": 106,
|
|
"ctxt": 0
|
|
},
|
|
"label": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 74,
|
|
"end": 80,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "WhileStatement",
|
|
"span": {
|
|
"start": 86,
|
|
"end": 106,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 93,
|
|
"end": 97,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 99,
|
|
"end": 106,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|