113 lines
4.7 KiB
JSON
113 lines
4.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":77,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":77}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":77,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":77}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":77,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":77}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":0,"end":77,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":77}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"right": {
|
|
"type": "ObjectExpression",
|
|
"start":4,"end":77,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":77}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":6,"end":36,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":36}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":10,"end":15,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":15},"identifierName":"width"},
|
|
"name": "width"
|
|
},
|
|
"computed": false,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":18,"end":36,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":36}},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start":20,"end":34,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":34}},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":27,"end":34,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":34},"identifierName":"m_width"},
|
|
"name": "m_width"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":38,"end":75,"loc":{"start":{"line":1,"column":38},"end":{"line":1,"column":75}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":42,"end":47,"loc":{"start":{"line":1,"column":42},"end":{"line":1,"column":47},"identifierName":"width"},
|
|
"name": "width"
|
|
},
|
|
"computed": false,
|
|
"kind": "set",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":48,"end":53,"loc":{"start":{"line":1,"column":48},"end":{"line":1,"column":53},"identifierName":"width"},
|
|
"name": "width"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":55,"end":75,"loc":{"start":{"line":1,"column":55},"end":{"line":1,"column":75}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":57,"end":73,"loc":{"start":{"line":1,"column":57},"end":{"line":1,"column":73}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":57,"end":72,"loc":{"start":{"line":1,"column":57},"end":{"line":1,"column":72}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":57,"end":64,"loc":{"start":{"line":1,"column":57},"end":{"line":1,"column":64},"identifierName":"m_width"},
|
|
"name": "m_width"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":67,"end":72,"loc":{"start":{"line":1,"column":67},"end":{"line":1,"column":72},"identifierName":"width"},
|
|
"name": "width"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |