mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
135 lines
3.4 KiB
JSON
135 lines
3.4 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 181,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsExportAssignment",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 72,
|
|
"end": 74,
|
|
"ctxt": 0
|
|
},
|
|
"value": 42.0,
|
|
"raw": "42"
|
|
}
|
|
},
|
|
{
|
|
"type": "TsExportAssignment",
|
|
"span": {
|
|
"start": 100,
|
|
"end": 181,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "FunctionExpression",
|
|
"identifier": null,
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 109,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 126,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 178,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 138,
|
|
"end": 177,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 138,
|
|
"end": 147,
|
|
"ctxt": 0
|
|
},
|
|
"value": "something",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "AwaitExpression",
|
|
"span": {
|
|
"start": 150,
|
|
"end": 177,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 156,
|
|
"end": 177,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Import",
|
|
"span": {
|
|
"start": 156,
|
|
"end": 162,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 163,
|
|
"end": 176,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./something",
|
|
"raw": "\"./something\""
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": true,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|