The pattern x.y (or x.y.z, ...)
| 56 | |
| 57 | |
| 58 | class ValuePattern(Pattern): |
| 59 | """The pattern x.y (or x.y.z, ...)""" |
| 60 | |
| 61 | expr: Expression |
| 62 | |
| 63 | def __init__(self, expr: Expression) -> None: |
| 64 | super().__init__() |
| 65 | self.expr = expr |
| 66 | |
| 67 | def accept(self, visitor: PatternVisitor[T]) -> T: |
| 68 | return visitor.visit_value_pattern(self) |
| 69 | |
| 70 | |
| 71 | class SingletonPattern(Pattern): |
no outgoing calls
no test coverage detected
searching dependent graphs…