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

78 lines
1.4 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 17,
"ctxt": 0
},
"body": [
{
"type": "EmptyStatement",
"span": {
"start": 1,
"end": 2,
"ctxt": 0
}
},
{
"type": "EmptyStatement",
"span": {
"start": 3,
"end": 4,
"ctxt": 0
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 5,
"end": 15,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 9,
"end": 14,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 13,
"end": 14,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"definite": false
}
]
},
{
"type": "EmptyStatement",
"span": {
"start": 16,
"end": 17,
"ctxt": 0
}
}
],
"interpreter": null
}