()
| 1300 | } |
| 1301 | |
| 1302 | parseSuper(): Node.Super { |
| 1303 | const node = this.createNode(); |
| 1304 | |
| 1305 | this.expectKeyword('super'); |
| 1306 | if (!this.match('[') && !this.match('.')) { |
| 1307 | this.throwUnexpectedToken(this.lookahead); |
| 1308 | } |
| 1309 | |
| 1310 | return this.finalize(node, new Node.Super()); |
| 1311 | } |
| 1312 | |
| 1313 | parseLeftHandSideExpression(): Node.Expression { |
| 1314 | assert(this.context.allowIn, 'callee of new expression always allow in keyword.'); |
no test coverage detected