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

102 lines
2.5 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 36,
"end": 84,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 36,
"end": 84,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 40,
"end": 84,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 40,
"end": 43,
"ctxt": 0
},
"value": "obj",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 46,
"end": 84,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 52,
"end": 79,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 53,
"end": 78,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 53,
"end": 59,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 60,
"end": 78,
"ctxt": 0
},
"value": "isConcatSpreadable",
"optional": false
}
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 81,
"end": 82,
"ctxt": 0
},
"value": 0.0
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}