mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
174 lines
3.8 KiB
JSON
174 lines
3.8 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 90,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 55,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 55,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": "foge",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "NewExpression",
|
|
"span": {
|
|
"start": 62,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 66,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"value": "SharedArrayBuffer",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 84,
|
|
"end": 88,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1024.0,
|
|
"raw": "1024"
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 91,
|
|
"end": 103,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 91,
|
|
"end": 102,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 91,
|
|
"end": 95,
|
|
"ctxt": 0
|
|
},
|
|
"value": "foge",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 102,
|
|
"ctxt": 0
|
|
},
|
|
"value": "length",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 121,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 125,
|
|
"end": 158,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 125,
|
|
"end": 131,
|
|
"ctxt": 0
|
|
},
|
|
"value": "length",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 134,
|
|
"end": 158,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 134,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "SharedArrayBuffer",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 152,
|
|
"end": 158,
|
|
"ctxt": 0
|
|
},
|
|
"value": "length",
|
|
"optional": false
|
|
}
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|