mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
194 lines
4.8 KiB
JSON
194 lines
4.8 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ForInStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"value": "d",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "SequenceExpression",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 31,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10,
|
|
"end": 11,
|
|
"ctxt": 0
|
|
},
|
|
"value": "_",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12,
|
|
"end": 14,
|
|
"ctxt": 0
|
|
},
|
|
"value": "jh",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 14,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "||",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 22,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 19,
|
|
"ctxt": 0
|
|
},
|
|
"value": "_",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20,
|
|
"end": 22,
|
|
"ctxt": 0
|
|
},
|
|
"value": "jh",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"elements": []
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 30,
|
|
"end": 31,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b",
|
|
"optional": false
|
|
}
|
|
]
|
|
},
|
|
"body": {
|
|
"type": "EmptyStatement",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|