(self, node: Opt)
| 294 | raise NotImplementedError(f"Forced tokens don't work with {node.node} nodes") |
| 295 | |
| 296 | def visit_Opt(self, node: Opt) -> FunctionCall: |
| 297 | call = self.generate_call(node.node) |
| 298 | return FunctionCall( |
| 299 | assigned_variable="_opt_var", |
| 300 | function=call.function, |
| 301 | arguments=call.arguments, |
| 302 | force_true=True, |
| 303 | comment=f"{node}", |
| 304 | ) |
| 305 | |
| 306 | def _generate_artificial_rule_call( |
| 307 | self, |
nothing calls this directly
no test coverage detected