| 69 | |
| 70 | |
| 71 | class SingletonPattern(Pattern): |
| 72 | # This can be exactly True, False or None |
| 73 | value: bool | None |
| 74 | |
| 75 | def __init__(self, value: bool | None) -> None: |
| 76 | super().__init__() |
| 77 | self.value = value |
| 78 | |
| 79 | def accept(self, visitor: PatternVisitor[T]) -> T: |
| 80 | return visitor.visit_singleton_pattern(self) |
| 81 | |
| 82 | |
| 83 | class SequencePattern(Pattern): |
no outgoing calls
no test coverage detected
searching dependent graphs…