mirror of
https://github.com/swc-project/swc.git
synced 2024-12-11 07:35:15 +03:00
210 lines
5.3 KiB
JSON
210 lines
5.3 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 67,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 67,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 6,
|
|
"ctxt": 0
|
|
},
|
|
"value": "model",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rotate",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 14,
|
|
"end": 15,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "/",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 34,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "*",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rotateY",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 34,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 31,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Math",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 34,
|
|
"ctxt": 0
|
|
},
|
|
"value": "PI",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 37,
|
|
"end": 40,
|
|
"ctxt": 0
|
|
},
|
|
"value": 180.0,
|
|
"raw": "180"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "/",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "*",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 49,
|
|
"ctxt": 0
|
|
},
|
|
"value": "rotateZ",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 52,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 52,
|
|
"end": 56,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Math",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 57,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": "PI",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 62,
|
|
"end": 65,
|
|
"ctxt": 0
|
|
},
|
|
"value": 180.0,
|
|
"raw": "180"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|