()
| 1214 | } |
| 1215 | |
| 1216 | parseAsyncArguments(): Node.ArgumentListElement[] { |
| 1217 | this.expect('('); |
| 1218 | const args: Node.ArgumentListElement[] = []; |
| 1219 | if (!this.match(')')) { |
| 1220 | while (true) { |
| 1221 | const expr = this.match('...') ? this.parseSpreadElement() : |
| 1222 | this.isolateCoverGrammar(this.parseAsyncArgument); |
| 1223 | args.push(expr); |
| 1224 | if (this.match(')')) { |
| 1225 | break; |
| 1226 | } |
| 1227 | this.expectCommaSeparator(); |
| 1228 | if (this.match(')')) { |
| 1229 | break; |
| 1230 | } |
| 1231 | } |
| 1232 | } |
| 1233 | this.expect(')'); |
| 1234 | |
| 1235 | return args; |
| 1236 | } |
| 1237 | |
| 1238 | parseLeftHandSideExpressionAllowCall(): Node.Expression { |
| 1239 | const startToken = this.lookahead; |
no test coverage detected