(self)
| 582 | return nodes.Compare(expr, ops, lineno=lineno) |
| 583 | |
| 584 | def parse_math1(self) -> nodes.Expr: |
| 585 | lineno = self.stream.current.lineno |
| 586 | left = self.parse_concat() |
| 587 | while self.stream.current.type in ("add", "sub"): |
| 588 | cls = _math_nodes[self.stream.current.type] |
| 589 | next(self.stream) |
| 590 | right = self.parse_concat() |
| 591 | left = cls(left, right, lineno=lineno) |
| 592 | lineno = self.stream.current.lineno |
| 593 | return left |
| 594 | |
| 595 | def parse_concat(self) -> nodes.Expr: |
| 596 | lineno = self.stream.current.lineno |
no test coverage detected