Public Member Functions | |
def | subsort (self, other) |
def | cast (self, val) |
Public Member Functions inherited from SortRef | |
def | as_ast (self) |
def | get_id (self) |
def | kind (self) |
def | name (self) |
def | __eq__ (self, other) |
def | __ne__ (self, other) |
def | __hash__ (self) |
Public Member Functions inherited from AstRef | |
def | __init__ (self, ast, ctx=None) |
def | __del__ (self) |
def | __deepcopy__ (self, memo={}) |
def | __str__ (self) |
def | __repr__ (self) |
def | __nonzero__ (self) |
def | __bool__ (self) |
def | sexpr (self) |
def | ctx_ref (self) |
def | eq (self, other) |
def | translate (self, target) |
def | __copy__ (self) |
def | hash (self) |
Public Member Functions inherited from Z3PPObject | |
def | use_pp (self) |
Additional Inherited Members | |
Data Fields inherited from AstRef | |
ast | |
ctx | |
def cast | ( | self, | |
val | |||
) |
Try to cast `val` as an element of sort `self`. This method is used in Z3Py to convert Python objects such as integers, floats, longs and strings into Z3 expressions. >>> x = Int('x') >>> RealSort().cast(x) ToReal(x)
Reimplemented from SortRef.