Files

162 lines
7.8 KiB
JSON

{
"type": "File",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
"program": {
"type": "Program",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
"expression": {
"type": "ObjectExpression",
"start":1,"end":50,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":50,"index":50}},
"properties": [
{
"type": "ObjectMethod",
"start":3,"end":48,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":48,"index":48}},
"method": true,
"key": {
"type": "Identifier",
"start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"x"},
"name": "x"
},
"computed": false,
"kind": "method",
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start":5,"end":31,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":31,"index":31}},
"properties": [
{
"type": "ObjectProperty",
"start":7,"end":18,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":18,"index":18}},
"key": {
"type": "Identifier",
"start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"a"},
"name": "a"
},
"computed": false,
"method": false,
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start":10,"end":18,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":18,"index":18}},
"properties": [
{
"type": "ObjectProperty",
"start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
"key": {
"type": "Identifier",
"start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"w"},
"name": "w"
},
"computed": false,
"method": false,
"shorthand": true,
"value": {
"type": "Identifier",
"start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"w"},
"name": "w"
}
},
{
"type": "ObjectProperty",
"start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16}},
"key": {
"type": "Identifier",
"start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"x"},
"name": "x"
},
"computed": false,
"method": false,
"shorthand": true,
"value": {
"type": "Identifier",
"start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"x"},
"name": "x"
}
}
]
}
},
{
"type": "ObjectProperty",
"start":20,"end":29,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":29,"index":29}},
"key": {
"type": "Identifier",
"start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"b"},
"name": "b"
},
"computed": false,
"method": false,
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start":23,"end":29,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":29,"index":29}},
"elements": [
{
"type": "Identifier",
"start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"y"},
"name": "y"
},
{
"type": "Identifier",
"start":27,"end":28,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":28,"index":28},"identifierName":"z"},
"name": "z"
}
]
}
}
]
},
{
"type": "RestElement",
"start":33,"end":45,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":45,"index":45}},
"argument": {
"type": "ArrayPattern",
"start":36,"end":45,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":45,"index":45}},
"elements": [
{
"type": "Identifier",
"start":37,"end":38,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":38,"index":38},"identifierName":"a"},
"name": "a"
},
{
"type": "Identifier",
"start":40,"end":41,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":41,"index":41},"identifierName":"b"},
"name": "b"
},
{
"type": "Identifier",
"start":43,"end":44,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":44,"index":44},"identifierName":"c"},
"name": "c"
}
]
}
}
],
"body": {
"type": "BlockStatement",
"start":46,"end":48,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":48,"index":48}},
"body": [],
"directives": []
}
}
],
"extra": {
"parenthesized": true,
"parenStart": 0
}
}
}
],
"directives": []
}
}