Public Member Functions | |
as_long (self) | |
as_string (self) | |
![]() | |
sort (self) | |
![]() | |
as_ast (self) | |
get_id (self) | |
sort_kind (self) | |
__eq__ (self, other) | |
__hash__ (self) | |
__ne__ (self, other) | |
params (self) | |
decl (self) | |
num_args (self) | |
arg (self, idx) | |
children (self) | |
from_string (self, s) | |
serialize (self) | |
![]() | |
__init__ (self, ast, ctx=None) | |
__del__ (self) | |
__deepcopy__ (self, memo={}) | |
__str__ (self) | |
__repr__ (self) | |
__nonzero__ (self) | |
__bool__ (self) | |
sexpr (self) | |
ctx_ref (self) | |
eq (self, other) | |
translate (self, target) | |
__copy__ (self) | |
hash (self) | |
![]() | |
use_pp (self) | |
Additional Inherited Members | |
![]() | |
ctx | |
![]() | |
ctx | |
![]() | |
ast = ast | |
ctx = _get_ctx(ctx) | |
![]() | |
_repr_html_ (self) | |
as_long | ( | self | ) |
Return a Z3 finite-domain numeral as a Python long (bignum) numeral. >>> s = FiniteDomainSort('S', 100) >>> v = FiniteDomainVal(3, s) >>> v 3 >>> v.as_long() + 1 4
Definition at line 7830 of file z3py.py.
Referenced by BitVecNumRef.as_signed_long().
as_string | ( | self | ) |
Return a Z3 finite-domain numeral as a Python string. >>> s = FiniteDomainSort('S', 100) >>> v = FiniteDomainVal(42, s) >>> v.as_string() '42'
Reimplemented from FiniteDomainRef.
Definition at line 7842 of file z3py.py.
Referenced by BitVecNumRef.as_long(), and IntNumRef.as_long().