| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":130,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":130}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":130,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":130}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ClassDeclaration", |
| 12 |
"start":0,"end":130,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":130}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"Query"}, |
| 16 |
"name": "Query" |
| 17 |
}, |
| 18 |
"superClass": null, |
| 19 |
"body": { |
| 20 |
"type": "ClassBody", |
| 21 |
"start":12,"end":130,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":7,"column":1,"index":130}}, |
| 22 |
"body": [ |
| 23 |
{ |
| 24 |
"type": "ClassMethod", |
| 25 |
"start":18,"end":128,"loc":{"start":{"line":2,"column":4,"index":18},"end":{"line":6,"column":5,"index":128}}, |
| 26 |
"static": false, |
| 27 |
"key": { |
| 28 |
"type": "Identifier", |
| 29 |
"start":25,"end":33,"loc":{"start":{"line":2,"column":11,"index":25},"end":{"line":2,"column":19,"index":33},"identifierName":"queryAll"}, |
| 30 |
"name": "queryAll" |
| 31 |
}, |
| 32 |
"computed": false, |
| 33 |
"kind": "method", |
| 34 |
"id": null, |
| 35 |
"generator": true, |
| 36 |
"async": true, |
| 37 |
"params": [ |
| 38 |
{ |
| 39 |
"type": "Identifier", |
| 40 |
"start":34,"end":37,"loc":{"start":{"line":2,"column":20,"index":34},"end":{"line":2,"column":23,"index":37},"identifierName":"ids"}, |
| 41 |
"name": "ids" |
| 42 |
} |
| 43 |
], |
| 44 |
"body": { |
| 45 |
"type": "BlockStatement", |
| 46 |
"start":39,"end":128,"loc":{"start":{"line":2,"column":25,"index":39},"end":{"line":6,"column":5,"index":128}}, |
| 47 |
"body": [ |
| 48 |
{ |
| 49 |
"type": "ForOfStatement", |
| 50 |
"start":49,"end":122,"loc":{"start":{"line":3,"column":8,"index":49},"end":{"line":5,"column":9,"index":122}}, |
| 51 |
"await": false, |
| 52 |
"left": { |
| 53 |
"type": "VariableDeclaration", |
| 54 |
"start":54,"end":62,"loc":{"start":{"line":3,"column":13,"index":54},"end":{"line":3,"column":21,"index":62}}, |
| 55 |
"declarations": [ |
| 56 |
{ |
| 57 |
"type": "VariableDeclarator", |
| 58 |
"start":60,"end":62,"loc":{"start":{"line":3,"column":19,"index":60},"end":{"line":3,"column":21,"index":62}}, |
| 59 |
"id": { |
| 60 |
"type": "Identifier", |
| 61 |
"start":60,"end":62,"loc":{"start":{"line":3,"column":19,"index":60},"end":{"line":3,"column":21,"index":62},"identifierName":"id"}, |
| 62 |
"name": "id" |
| 63 |
}, |
| 64 |
"init": null |
| 65 |
} |
| 66 |
], |
| 67 |
"kind": "const" |
| 68 |
}, |
| 69 |
"right": { |
| 70 |
"type": "Identifier", |
| 71 |
"start":66,"end":69,"loc":{"start":{"line":3,"column":25,"index":66},"end":{"line":3,"column":28,"index":69},"identifierName":"ids"}, |
| 72 |
"name": "ids" |
| 73 |
}, |
| 74 |
"body": { |
| 75 |
"type": "BlockStatement", |
| 76 |
"start":71,"end":122,"loc":{"start":{"line":3,"column":30,"index":71},"end":{"line":5,"column":9,"index":122}}, |
| 77 |
"body": [ |
| 78 |
{ |
| 79 |
"type": "ExpressionStatement", |
| 80 |
"start":85,"end":112,"loc":{"start":{"line":4,"column":12,"index":85},"end":{"line":4,"column":39,"index":112}}, |
| 81 |
"expression": { |
| 82 |
"type": "YieldExpression", |
| 83 |
"start":85,"end":111,"loc":{"start":{"line":4,"column":12,"index":85},"end":{"line":4,"column":38,"index":111}}, |
| 84 |
"delegate": false, |
| 85 |
"argument": { |
| 86 |
"type": "AwaitExpression", |
| 87 |
"start":91,"end":111,"loc":{"start":{"line":4,"column":18,"index":91},"end":{"line":4,"column":38,"index":111}}, |
| 88 |
"argument": { |
| 89 |
"type": "CallExpression", |
| 90 |
"start":97,"end":111,"loc":{"start":{"line":4,"column":24,"index":97},"end":{"line":4,"column":38,"index":111}}, |
| 91 |
"callee": { |
| 92 |
"type": "MemberExpression", |
| 93 |
"start":97,"end":107,"loc":{"start":{"line":4,"column":24,"index":97},"end":{"line":4,"column":34,"index":107}}, |
| 94 |
"object": { |
| 95 |
"type": "ThisExpression", |
| 96 |
"start":97,"end":101,"loc":{"start":{"line":4,"column":24,"index":97},"end":{"line":4,"column":28,"index":101}} |
| 97 |
}, |
| 98 |
"computed": false, |
| 99 |
"property": { |
| 100 |
"type": "Identifier", |
| 101 |
"start":102,"end":107,"loc":{"start":{"line":4,"column":29,"index":102},"end":{"line":4,"column":34,"index":107},"identifierName":"query"}, |
| 102 |
"name": "query" |
| 103 |
} |
| 104 |
}, |
| 105 |
"arguments": [ |
| 106 |
{ |
| 107 |
"type": "Identifier", |
| 108 |
"start":108,"end":110,"loc":{"start":{"line":4,"column":35,"index":108},"end":{"line":4,"column":37,"index":110},"identifierName":"id"}, |
| 109 |
"name": "id" |
| 110 |
} |
| 111 |
] |
| 112 |
} |
| 113 |
} |
| 114 |
} |
| 115 |
} |
| 116 |
], |
| 117 |
"directives": [] |
| 118 |
} |
| 119 |
} |
| 120 |
], |
| 121 |
"directives": [] |
| 122 |
} |
| 123 |
} |
| 124 |
] |
| 125 |
} |
| 126 |
} |
| 127 |
], |
| 128 |
"directives": [] |
| 129 |
} |
| 130 |
} |