Files

81 lines
3.5 KiB
JSON

{
"type": "File",
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
"program": {
"type": "Program",
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "VariableDeclaration",
"start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
"declarations": [
{
"type": "VariableDeclarator",
"start":6,"end":37,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":37,"index":37}},
"id": {
"type": "Identifier",
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"b"},
"name": "b"
},
"init": {
"type": "ArrowFunctionExpression",
"start":10,"end":37,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":37,"index":37}},
"id": null,
"generator": false,
"async": true,
"params": [
{
"type": "ObjectPattern",
"start":17,"end":30,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":30,"index":30}},
"properties": [
{
"type": "ObjectProperty",
"start":18,"end":29,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":29,"index":29}},
"method": false,
"key": {
"type": "Identifier",
"start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"bar"},
"name": "bar"
},
"computed": false,
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start":18,"end":29,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":29,"index":29}},
"left": {
"type": "Identifier",
"start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"bar"},
"name": "bar"
},
"right": {
"type": "StringLiteral",
"start":24,"end":29,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":29,"index":29}},
"extra": {
"rawValue": "bar",
"raw": "\"bar\""
},
"value": "bar"
}
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start":35,"end":37,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":37,"index":37}},
"body": [],
"directives": []
}
}
}
],
"kind": "const"
}
],
"directives": []
}
}