(this: Parser, op: TokenType)
| 478 | |
| 479 | // Whether `op`, the current token, continues a binary expression. |
| 480 | isBinaryOperator(this: Parser, op: TokenType): boolean { |
| 481 | return ( |
| 482 | tokenIsOperator(op) && |
| 483 | (this.prodParam.hasIn || op !== tt._in) && |
| 484 | !this.isEscapedKeywordOperatorAfterLineBreak() |
| 485 | ); |
| 486 | } |
| 487 | |
| 488 | // Parse binary operators with the operator precedence parsing |
| 489 | // algorithm. `left` is the left-hand side of the operator. |
nothing calls this directly
no test coverage detected