Files

137 lines
7.1 KiB
JSON

{
"type": "File",
"start":0,"end":133,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":2,"index":133}},
"program": {
"type": "Program",
"start":0,"end":133,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":2,"index":133}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "VariableDeclaration",
"start":0,"end":133,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":2,"index":133}},
"declarations": [
{
"type": "VariableDeclarator",
"start":6,"end":132,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":7,"column":1,"index":132}},
"id": {
"type": "Identifier",
"start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"query"},
"name": "query"
},
"init": {
"type": "ObjectExpression",
"start":14,"end":132,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":7,"column":1,"index":132}},
"properties": [
{
"type": "ObjectMethod",
"start":20,"end":130,"loc":{"start":{"line":2,"column":4,"index":20},"end":{"line":6,"column":5,"index":130}},
"method": true,
"key": {
"type": "Identifier",
"start":27,"end":35,"loc":{"start":{"line":2,"column":11,"index":27},"end":{"line":2,"column":19,"index":35},"identifierName":"queryAll"},
"name": "queryAll"
},
"computed": false,
"kind": "method",
"id": null,
"generator": true,
"async": true,
"params": [
{
"type": "Identifier",
"start":36,"end":39,"loc":{"start":{"line":2,"column":20,"index":36},"end":{"line":2,"column":23,"index":39},"identifierName":"ids"},
"name": "ids"
}
],
"body": {
"type": "BlockStatement",
"start":41,"end":130,"loc":{"start":{"line":2,"column":25,"index":41},"end":{"line":6,"column":5,"index":130}},
"body": [
{
"type": "ForOfStatement",
"start":51,"end":124,"loc":{"start":{"line":3,"column":8,"index":51},"end":{"line":5,"column":9,"index":124}},
"await": false,
"left": {
"type": "VariableDeclaration",
"start":56,"end":64,"loc":{"start":{"line":3,"column":13,"index":56},"end":{"line":3,"column":21,"index":64}},
"declarations": [
{
"type": "VariableDeclarator",
"start":62,"end":64,"loc":{"start":{"line":3,"column":19,"index":62},"end":{"line":3,"column":21,"index":64}},
"id": {
"type": "Identifier",
"start":62,"end":64,"loc":{"start":{"line":3,"column":19,"index":62},"end":{"line":3,"column":21,"index":64},"identifierName":"id"},
"name": "id"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start":68,"end":71,"loc":{"start":{"line":3,"column":25,"index":68},"end":{"line":3,"column":28,"index":71},"identifierName":"ids"},
"name": "ids"
},
"body": {
"type": "BlockStatement",
"start":73,"end":124,"loc":{"start":{"line":3,"column":30,"index":73},"end":{"line":5,"column":9,"index":124}},
"body": [
{
"type": "ExpressionStatement",
"start":87,"end":114,"loc":{"start":{"line":4,"column":12,"index":87},"end":{"line":4,"column":39,"index":114}},
"expression": {
"type": "YieldExpression",
"start":87,"end":113,"loc":{"start":{"line":4,"column":12,"index":87},"end":{"line":4,"column":38,"index":113}},
"delegate": false,
"argument": {
"type": "AwaitExpression",
"start":93,"end":113,"loc":{"start":{"line":4,"column":18,"index":93},"end":{"line":4,"column":38,"index":113}},
"argument": {
"type": "CallExpression",
"start":99,"end":113,"loc":{"start":{"line":4,"column":24,"index":99},"end":{"line":4,"column":38,"index":113}},
"callee": {
"type": "MemberExpression",
"start":99,"end":109,"loc":{"start":{"line":4,"column":24,"index":99},"end":{"line":4,"column":34,"index":109}},
"object": {
"type": "ThisExpression",
"start":99,"end":103,"loc":{"start":{"line":4,"column":24,"index":99},"end":{"line":4,"column":28,"index":103}}
},
"computed": false,
"property": {
"type": "Identifier",
"start":104,"end":109,"loc":{"start":{"line":4,"column":29,"index":104},"end":{"line":4,"column":34,"index":109},"identifierName":"query"},
"name": "query"
}
},
"arguments": [
{
"type": "Identifier",
"start":110,"end":112,"loc":{"start":{"line":4,"column":35,"index":110},"end":{"line":4,"column":37,"index":112},"identifierName":"id"},
"name": "id"
}
]
}
}
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
}
],
"kind": "const"
}
],
"directives": []
}
}