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

68 lines
1.2 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 29,
"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": 29,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 15,
"end": 28,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 15,
"end": 24,
"ctxt": 0
},
"value": "arguments",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 27,
"end": 28,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
],
"interpreter": null
}