mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
135 lines
3.4 KiB
JSON
135 lines
3.4 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 68,
|
|
"end": 186,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsExportAssignment",
|
|
"span": {
|
|
"start": 68,
|
|
"end": 80,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 77,
|
|
"end": 79,
|
|
"ctxt": 0
|
|
},
|
|
"value": 42.0,
|
|
"raw": "42"
|
|
}
|
|
},
|
|
{
|
|
"type": "TsExportAssignment",
|
|
"span": {
|
|
"start": 105,
|
|
"end": 186,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "FunctionExpression",
|
|
"identifier": null,
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 114,
|
|
"end": 185,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 131,
|
|
"end": 185,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 137,
|
|
"end": 183,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "const",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 143,
|
|
"end": 182,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 143,
|
|
"end": 152,
|
|
"ctxt": 0
|
|
},
|
|
"value": "something",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "AwaitExpression",
|
|
"span": {
|
|
"start": 155,
|
|
"end": 182,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 182,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Import",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 168,
|
|
"end": 181,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./something",
|
|
"raw": "\"./something\""
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": true,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|