()
| 3260 | } |
| 3261 | |
| 3262 | parseClassElementList(): Node.Property[] { |
| 3263 | const body: Node.Property[] = []; |
| 3264 | const hasConstructor = { value: false }; |
| 3265 | |
| 3266 | this.expect('{'); |
| 3267 | while (!this.match('}')) { |
| 3268 | if (this.match(';')) { |
| 3269 | this.nextToken(); |
| 3270 | } else { |
| 3271 | body.push(this.parseClassElement(hasConstructor)); |
| 3272 | } |
| 3273 | } |
| 3274 | this.expect('}'); |
| 3275 | |
| 3276 | return body; |
| 3277 | } |
| 3278 | |
| 3279 | parseClassBody(): Node.ClassBody { |
| 3280 | const node = this.createNode(); |
no test coverage detected