Create a propagation function.
(name: str, *sorts: SortRef)
| 4735 | |
| 4736 | |
| 4737 | def PropagateFunction(name: str, *sorts: SortRef) -> FuncDeclRef: |
| 4738 | """Create a propagation function.""" |
| 4739 | if len(sorts) < 2: |
| 4740 | raise TypeError("PropagateFunction needs at least domain and range sorts") |
| 4741 | return Function(name, *sorts) |
| 4742 | |
| 4743 | |
| 4744 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected