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

39 lines
652 B
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 8,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 8,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"operator": "void",
"argument": {
"type": "NumericLiteral",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
],
"interpreter": null
}