mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 20:51:42 +03:00
81 lines
1.8 KiB
JSON
81 lines
1.8 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "UsingDeclaration",
|
|
"span": {
|
|
"start": 5,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"isAwait": false,
|
|
"decls": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
},
|
|
"value": "basic",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 28,
|
|
"ctxt": 0
|
|
},
|
|
"value": "getReader",
|
|
"optional": false
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "EmptyStatement",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 31,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|