mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
103 lines
2.3 KiB
JSON
103 lines
2.3 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 57,
|
|
"ctxt": 0
|
|
},
|
|
"specifiers": [],
|
|
"source": null,
|
|
"typeOnly": false,
|
|
"asserts": null
|
|
},
|
|
{
|
|
"type": "TsModuleDeclaration",
|
|
"span": {
|
|
"start": 59,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"declare": true,
|
|
"global": true,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 67,
|
|
"end": 73,
|
|
"ctxt": 0
|
|
},
|
|
"value": "global",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "TsModuleBlock",
|
|
"span": {
|
|
"start": 74,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 78,
|
|
"end": 92,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 82,
|
|
"end": 91,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 82,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 83,
|
|
"end": 91,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 85,
|
|
"end": 91,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|