| 2017 | |
| 2018 | |
| 2019 | class AssertStmt(Statement): |
| 2020 | __slots__ = ("expr", "msg") |
| 2021 | |
| 2022 | __match_args__ = ("expr", "msg") |
| 2023 | |
| 2024 | expr: Expression |
| 2025 | msg: Expression | None |
| 2026 | |
| 2027 | def __init__(self, expr: Expression, msg: Expression | None = None) -> None: |
| 2028 | super().__init__() |
| 2029 | self.expr = expr |
| 2030 | self.msg = msg |
| 2031 | |
| 2032 | def accept(self, visitor: StatementVisitor[T]) -> T: |
| 2033 | return visitor.visit_assert_stmt(self) |
| 2034 | |
| 2035 | |
| 2036 | class DelStmt(Statement): |
no outgoing calls
no test coverage detected
searching dependent graphs…