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

112 lines
2.3 KiB
JSON

{
"type": "Module",
"span": {
"start": 37,
"end": 74,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 37,
"end": 56,
"ctxt": 0
},
"declaration": {
"type": "VariableDeclaration",
"span": {
"start": 44,
"end": 56,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 50,
"end": 55,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 50,
"end": 51,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 54,
"end": 55,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"definite": false
}
]
}
},
{
"type": "ExportDeclaration",
"span": {
"start": 57,
"end": 74,
"ctxt": 0
},
"declaration": {
"type": "VariableDeclaration",
"span": {
"start": 64,
"end": 74,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 68,
"end": 73,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 68,
"end": 69,
"ctxt": 0
},
"value": "l",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 72,
"end": 73,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"definite": false
}
]
}
}
],
"interpreter": null
}