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

103 lines
2.5 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 37,
"end": 85,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 37,
"end": 85,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 41,
"end": 85,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 41,
"end": 44,
"ctxt": 0
},
"value": "obj",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 47,
"end": 85,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 53,
"end": 80,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 54,
"end": 79,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 54,
"end": 60,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 61,
"end": 79,
"ctxt": 0
},
"value": "isConcatSpreadable",
"optional": false
}
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 82,
"end": 83,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}