79 lines
3.1 KiB
JSON
79 lines
3.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":6,"end":41,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":41}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":9,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":9},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"init": {
|
|
"type": "FunctionExpression",
|
|
"start":12,"end":41,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":41}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "ObjectPattern",
|
|
"start":21,"end":37,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":37}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":23,"end":35,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":35}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":23,"end":28,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":28},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"shorthand": true,
|
|
"value": {
|
|
"type": "AssignmentPattern",
|
|
"start":23,"end":35,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":35}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":23,"end":28,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":28},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start":31,"end":35,"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":35}},
|
|
"value": true
|
|
}
|
|
},
|
|
"extra": {
|
|
"shorthand": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":39,"end":41,"loc":{"start":{"line":1,"column":39},"end":{"line":1,"column":41}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |