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

58 lines
1.0 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 22,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 14,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1,
"end": 13,
"ctxt": 0
},
"value": "use strict",
"raw": "\"use strict\""
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 15,
"end": 22,
"ctxt": 0
},
"expression": {
"type": "UpdateExpression",
"span": {
"start": 15,
"end": 21,
"ctxt": 0
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"span": {
"start": 15,
"end": 19,
"ctxt": 0
},
"value": "eval",
"optional": false
}
}
}
],
"interpreter": null
}