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

124 lines
2.3 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 33,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 0,
"end": 7,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 0,
"end": 6,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 0,
"end": 4,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 8,
"end": 15,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 8,
"end": 14,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 8,
"end": 12,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 16,
"end": 23,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 16,
"end": 22,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 16,
"end": 20,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 24,
"end": 33,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 24,
"end": 32,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 24,
"end": 30,
"ctxt": 0
},
"value": "static",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}