swc/crates/swc_ecma_parser/tests/tsc/es6modulekindWithES5Target8.json
2022-04-05 12:46:35 +00:00

112 lines
2.3 KiB
JSON

{
"type": "Module",
"span": {
"start": 36,
"end": 73,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 36,
"end": 55,
"ctxt": 0
},
"declaration": {
"type": "VariableDeclaration",
"span": {
"start": 43,
"end": 55,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 49,
"end": 54,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 49,
"end": 50,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 53,
"end": 54,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"definite": false
}
]
}
},
{
"type": "ExportDeclaration",
"span": {
"start": 56,
"end": 73,
"ctxt": 0
},
"declaration": {
"type": "VariableDeclaration",
"span": {
"start": 63,
"end": 73,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 67,
"end": 72,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 67,
"end": 68,
"ctxt": 0
},
"value": "l",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 71,
"end": 72,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"definite": false
}
]
}
}
],
"interpreter": null
}