Files

144 lines
6.5 KiB
JSON

{
"type": "File",
"start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
"program": {
"type": "Program",
"start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "FunctionDeclaration",
"start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}},
"id": {
"type": "Identifier",
"start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"x"},
"name": "x"
},
"generator": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start":11,"end":37,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":37,"index":37}},
"properties": [
{
"type": "ObjectProperty",
"start":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24}},
"key": {
"type": "Identifier",
"start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"a"},
"name": "a"
},
"computed": false,
"method": false,
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start":16,"end":24,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":24,"index":24}},
"properties": [
{
"type": "ObjectProperty",
"start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}},
"key": {
"type": "Identifier",
"start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"w"},
"name": "w"
},
"computed": false,
"method": false,
"shorthand": true,
"value": {
"type": "Identifier",
"start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"w"},
"name": "w"
}
},
{
"type": "ObjectProperty",
"start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22}},
"key": {
"type": "Identifier",
"start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"x"},
"name": "x"
},
"computed": false,
"method": false,
"shorthand": true,
"value": {
"type": "Identifier",
"start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"x"},
"name": "x"
}
}
]
}
},
{
"type": "ObjectProperty",
"start":26,"end":35,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":35,"index":35}},
"key": {
"type": "Identifier",
"start":26,"end":27,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":27,"index":27},"identifierName":"b"},
"name": "b"
},
"computed": false,
"method": false,
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start":29,"end":35,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":35,"index":35}},
"elements": [
{
"type": "Identifier",
"start":30,"end":31,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":31,"index":31},"identifierName":"y"},
"name": "y"
},
{
"type": "Identifier",
"start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"z"},
"name": "z"
}
]
}
}
]
},
{
"type": "RestElement",
"start":39,"end":51,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":51,"index":51}},
"argument": {
"type": "ArrayPattern",
"start":42,"end":51,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":51,"index":51}},
"elements": [
{
"type": "Identifier",
"start":43,"end":44,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":44,"index":44},"identifierName":"a"},
"name": "a"
},
{
"type": "Identifier",
"start":46,"end":47,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":47,"index":47},"identifierName":"b"},
"name": "b"
},
{
"type": "Identifier",
"start":49,"end":50,"loc":{"start":{"line":1,"column":49,"index":49},"end":{"line":1,"column":50,"index":50},"identifierName":"c"},
"name": "c"
}
]
}
}
],
"body": {
"type": "BlockStatement",
"start":52,"end":54,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":54,"index":54}},
"body": [],
"directives": []
}
}
],
"directives": []
}
}