()
| 91 | } |
| 92 | |
| 93 | parseConditional() { |
| 94 | let result = this.parseBinary(0); |
| 95 | |
| 96 | if (this.opt(T$Question)) { |
| 97 | let yes = this.parseExpression(); |
| 98 | this.expect(T$Colon); |
| 99 | result = new Conditional(result, yes, this.parseExpression()); |
| 100 | } |
| 101 | return result; |
| 102 | } |
| 103 | |
| 104 | parseBinary(minPrecedence) { |
| 105 | let left = this.parseLeftHandSide(0); |
no test coverage detected