(self, args: Sequence[RuntimeArg], ret_type: RType)
| 80 | # TODO: Track if method? |
| 81 | |
| 82 | def __init__(self, args: Sequence[RuntimeArg], ret_type: RType) -> None: |
| 83 | self.args = tuple(args) |
| 84 | self.ret_type = ret_type |
| 85 | # Bitmap arguments are use to mark default values for arguments that |
| 86 | # have types with overlapping error values. |
| 87 | self.num_bitmap_args = num_bitmap_args(self.args) |
| 88 | if self.num_bitmap_args: |
| 89 | extra = [ |
| 90 | RuntimeArg(bitmap_name(i), bitmap_rprimitive, pos_only=True) |
| 91 | for i in range(self.num_bitmap_args) |
| 92 | ] |
| 93 | self.args = self.args + tuple(reversed(extra)) |
| 94 | |
| 95 | def real_args(self) -> tuple[RuntimeArg, ...]: |
| 96 | """Return arguments without any synthetic bitmap arguments.""" |
nothing calls this directly
no test coverage detected