swc/crates/swc_ecma_parser/tests/tsc/parserDoStatement2.json

64 lines
1.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"body": [
{
"type": "DoWhileStatement",
"span": {
"start": 0,
"end": 17,
"ctxt": 0
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 11,
"end": 16,
"ctxt": 0
},
"value": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2,
"end": 5,
"ctxt": 0
},
"stmts": [
{
"type": "EmptyStatement",
"span": {
"start": 3,
"end": 4,
"ctxt": 0
}
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 17,
"end": 22,
"ctxt": 0
},
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 17,
"end": 22,
"ctxt": 0
},
"value": false
}
}
],
"interpreter": null
}