swc/crates/swc_ecma_parser/tests/tsc/scopedPackagesClassic.json
2022-02-04 20:17:42 +09:00

107 lines
2.2 KiB
JSON

{
"type": "Module",
"span": {
"start": 164,
"end": 234,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 164,
"end": 183,
"ctxt": 0
},
"declaration": {
"type": "VariableDeclaration",
"span": {
"start": 171,
"end": 183,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 177,
"end": 182,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 177,
"end": 178,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 181,
"end": 182,
"ctxt": 0
},
"value": 0.0
},
"definite": false
}
]
}
},
{
"type": "ImportDeclaration",
"span": {
"start": 205,
"end": 234,
"ctxt": 0
},
"specifiers": [
{
"type": "ImportSpecifier",
"span": {
"start": 214,
"end": 215,
"ctxt": 0
},
"local": {
"type": "Identifier",
"span": {
"start": 214,
"end": 215,
"ctxt": 0
},
"value": "x",
"optional": false
},
"imported": null,
"isTypeOnly": false
}
],
"source": {
"type": "StringLiteral",
"span": {
"start": 223,
"end": 233,
"ctxt": 0
},
"value": "@see/saw",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeOnly": false,
"asserts": null
}
],
"interpreter": null
}