def end(self):
    default = self.default
    if (default is None):
        default = ir.null().cast(self.type())
    args = [getattr(self, slot) for slot in self.__slots__ if (slot != 'default')]
    args.append(default)
    op = self.__class__.case_op(*args)
    return op.to_expr()
def end(self):
    default = self.default
    if (default is None):
        default = ir.null().cast(self.type())
    args = [getattr(self, slot) for slot in self.__slots__ if (slot != 'default')]
    args.append(default)
    op = self.__class__.case_op(*args)
    return op.to_expr()