The pattern | | ...
| 43 | |
| 44 | |
| 45 | class OrPattern(Pattern): |
| 46 | """The pattern <pattern> | <pattern> | ...""" |
| 47 | |
| 48 | patterns: list[Pattern] |
| 49 | |
| 50 | def __init__(self, patterns: list[Pattern]) -> None: |
| 51 | super().__init__() |
| 52 | self.patterns = patterns |
| 53 | |
| 54 | def accept(self, visitor: PatternVisitor[T]) -> T: |
| 55 | return visitor.visit_or_pattern(self) |
| 56 | |
| 57 | |
| 58 | class ValuePattern(Pattern): |
no outgoing calls
no test coverage detected
searching dependent graphs…