()
| 760 | } |
| 761 | |
| 762 | parsePropertyMethodFunction(): Node.FunctionExpression { |
| 763 | const isGenerator = false; |
| 764 | const node = this.createNode(); |
| 765 | |
| 766 | const previousAllowYield = this.context.allowYield; |
| 767 | this.context.allowYield = true; |
| 768 | const params = this.parseFormalParameters(); |
| 769 | const method = this.parsePropertyMethod(params); |
| 770 | this.context.allowYield = previousAllowYield; |
| 771 | |
| 772 | return this.finalize(node, new Node.FunctionExpression(null, params.params, method, isGenerator)); |
| 773 | } |
| 774 | |
| 775 | parsePropertyMethodAsyncFunction(): Node.FunctionExpression { |
| 776 | const node = this.createNode(); |
no test coverage detected