mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
114 lines
2.2 KiB
JSON
114 lines
2.2 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 20,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 20,
|
|
"end": 30,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 24,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"value": "async",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ForOfStatement",
|
|
"span": {
|
|
"start": 31,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"await": null,
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 36,
|
|
"end": 43,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 37,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"value": "async",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 47,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 48,
|
|
"end": 49,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"body": {
|
|
"type": "EmptyStatement",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|