()
| 773 | } |
| 774 | |
| 775 | parsePropertyMethodAsyncFunction(): Node.FunctionExpression { |
| 776 | const node = this.createNode(); |
| 777 | |
| 778 | const previousAllowYield = this.context.allowYield; |
| 779 | const previousAwait = this.context.await; |
| 780 | this.context.allowYield = false; |
| 781 | this.context.await = true; |
| 782 | const params = this.parseFormalParameters(); |
| 783 | const method = this.parsePropertyMethod(params); |
| 784 | this.context.allowYield = previousAllowYield; |
| 785 | this.context.await = previousAwait; |
| 786 | |
| 787 | return this.finalize(node, new Node.AsyncFunctionExpression(null, params.params, method)); |
| 788 | } |
| 789 | |
| 790 | parseObjectPropertyKey(): Node.PropertyKey { |
| 791 | const node = this.createNode(); |
no test coverage detected