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

64 lines
1.1 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 23,
"ctxt": 0
},
"body": [
{
"type": "DoWhileStatement",
"span": {
"start": 1,
"end": 18,
"ctxt": 0
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 12,
"end": 17,
"ctxt": 0
},
"value": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3,
"end": 6,
"ctxt": 0
},
"stmts": [
{
"type": "EmptyStatement",
"span": {
"start": 4,
"end": 5,
"ctxt": 0
}
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 18,
"end": 23,
"ctxt": 0
},
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 18,
"end": 23,
"ctxt": 0
},
"value": false
}
}
],
"interpreter": null
}