Public Member Functions | |
def | __init__ |
def | __deepcopy__ |
def | __del__ |
def | __len__ |
def | __getitem__ |
def | __setitem__ |
def | push |
def | resize |
def | __contains__ |
def | translate |
def | __copy__ |
def | __deepcopy__ |
def | __repr__ |
def | sexpr |
![]() | |
def | use_pp |
Data Fields | |
vector | |
ctx | |
def __del__ | ( | self | ) |
def __contains__ | ( | self, | |
item | |||
) |
def __copy__ | ( | self | ) |
def __deepcopy__ | ( | self, | |
memo = {} |
|||
) |
Definition at line 5449 of file z3py.py.
def __deepcopy__ | ( | self, | |
memo = {} |
|||
) |
def __getitem__ | ( | self, | |
i | |||
) |
Return the AST at position `i`. >>> A = AstVector() >>> A.push(Int('x') + 1) >>> A.push(Int('y')) >>> A[0] x + 1 >>> A[1] y
Definition at line 5469 of file z3py.py.
def __len__ | ( | self | ) |
Return the size of the vector `self`. >>> A = AstVector() >>> len(A) 0 >>> A.push(Int('x')) >>> A.push(Int('x')) >>> len(A) 2
Definition at line 5456 of file z3py.py.
Referenced by AstVector.__getitem__().
def __repr__ | ( | self | ) |
def __setitem__ | ( | self, | |
i, | |||
v | |||
) |
Update AST at position `i`. >>> A = AstVector() >>> A.push(Int('x') + 1) >>> A.push(Int('y')) >>> A[0] x + 1 >>> A[0] = Int('x') >>> A[0] x
Definition at line 5493 of file z3py.py.
def push | ( | self, | |
v | |||
) |
def resize | ( | self, | |
sz | |||
) |
def sexpr | ( | self | ) |
Return a textual representation of the s-expression representing the vector.
Definition at line 5579 of file z3py.py.
Referenced by Fixedpoint.__repr__(), and Optimize.__repr__().
def translate | ( | self, | |
other_ctx | |||
) |
Copy vector `self` to context `other_ctx`. >>> x = Int('x') >>> A = AstVector() >>> A.push(x) >>> c2 = Context() >>> B = A.translate(c2) >>> B [x]
Definition at line 5557 of file z3py.py.
Referenced by AstVector.__copy__(), and AstVector.__deepcopy__().
ctx |
Definition at line 5441 of file z3py.py.
Referenced by AstVector.__copy__(), AstVector.__deepcopy__(), AstMap.__deepcopy__(), Fixedpoint.__deepcopy__(), Optimize.__deepcopy__(), ApplyResult.__deepcopy__(), Tactic.__deepcopy__(), Probe.__deepcopy__(), Probe.__eq__(), Probe.__ge__(), AstVector.__getitem__(), AstMap.__getitem__(), ApplyResult.__getitem__(), Probe.__gt__(), Probe.__le__(), Probe.__lt__(), Probe.__ne__(), Fixedpoint.add_rule(), Optimize.add_soft(), Tactic.apply(), ApplyResult.as_expr(), Optimize.assert_and_track(), Fixedpoint.assert_exprs(), Optimize.assert_exprs(), Optimize.assertions(), Fixedpoint.get_answer(), Fixedpoint.get_assertions(), Fixedpoint.get_cover_delta(), Fixedpoint.get_ground_sat_answer(), Fixedpoint.get_rule_names_along_trace(), Fixedpoint.get_rules(), Fixedpoint.get_rules_along_trace(), AstMap.keys(), Optimize.model(), Optimize.objectives(), Fixedpoint.param_descrs(), Optimize.param_descrs(), Tactic.param_descrs(), Fixedpoint.parse_file(), Fixedpoint.parse_string(), Fixedpoint.query(), Fixedpoint.set(), Optimize.set(), Tactic.solver(), Fixedpoint.statistics(), Optimize.statistics(), Solver.to_smt2(), Optimize.unsat_core(), and Fixedpoint.update_rule().
vector |
Definition at line 5439 of file z3py.py.
Referenced by AstVector.__deepcopy__(), AstVector.__del__(), AstVector.__getitem__(), AstVector.__len__(), AstVector.__setitem__(), AstVector.push(), AstVector.resize(), AstVector.sexpr(), and AstVector.translate().