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

64 lines
1.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 32,
"end": 65,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 32,
"end": 45,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 32,
"end": 44,
"ctxt": 0
},
"value": "use strict",
"raw": "\"use strict\""
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 55,
"end": 59,
"ctxt": 0
},
"value": "eval",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 46,
"end": 65,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 62,
"end": 65,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
],
"interpreter": null
}