Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions pysvf/pysvf.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1842,17 +1842,21 @@ class IntervalValue:
def __init__(self, lb: int, ub: int) -> None: ...
@overload
def __init__(self, val: int) -> None: ...
def __eq__(self, other: object) -> bool: ...
def __ne__(self, other: object) -> bool: ...
# `__eq__` and `__ne__`'s type annotations are forced as `bool` for all objects,
# use `type: ignore` so that equality operators in C++ and Python are the same
@overload
def __eq__(self, other: 'IntervalValue') -> 'IntervalValue': ... # type: ignore
@overload
def __ne__(self, other: 'IntervalValue') -> 'IntervalValue': ... # type: ignore
def __add__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __sub__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __mul__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __truediv__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __mod__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __lt__(self, other: 'IntervalValue') -> bool: ...
def __le__(self, other: 'IntervalValue') -> bool: ...
def __gt__(self, other: 'IntervalValue') -> bool: ...
def __ge__(self, other: 'IntervalValue') -> bool: ...
def __lt__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __le__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __gt__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __ge__(self, other: 'IntervalValue') -> 'IntervalValue': ...
def __and__(self, other: "IntervalValue") -> "IntervalValue": ...
def __or__(self, other: "IntervalValue") -> "IntervalValue": ...
def __xor__(self, other: "IntervalValue") -> "IntervalValue": ...
Expand Down Expand Up @@ -1920,6 +1924,12 @@ class AddressValue:


class AbstractValue:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, val: IntervalValue) -> None: ...
@overload
def __init__(self, val: AddressValue) -> None: ...
@overload
def __init__(self, val: int) -> None: ...
@overload
Expand Down