(self, node: ast.AST)
| 134 | self.is_constexpr = False |
| 135 | |
| 136 | def visit(self, node: ast.AST) -> None: |
| 137 | if not self.is_constexpr: |
| 138 | # can short-circuit if we've already detected that it's not a constexpr |
| 139 | return |
| 140 | super().visit(node) |
| 141 | |
| 142 | def __call__(self, node: ast.AST) -> bool: |
| 143 | self.is_constexpr = True |
no outgoing calls
no test coverage detected