Inheritance diagram for AstVector:Public Member Functions | |
| def | __init__ |
| def | __del__ |
| def | __len__ |
| def | __getitem__ |
| def | __setitem__ |
| def | push |
| def | resize |
| def | __contains__ |
| def | translate |
| def | __repr__ |
| def | sexpr |
Public Member Functions inherited from Z3PPObject | |
| def | use_pp |
Data Fields | |
| vector | |
| ctx | |
| def __del__ | ( | self | ) |
| def __contains__ | ( | self, | |
| item | |||
| ) |
| def __getitem__ | ( | self, | |
| i | |||
| ) |
| 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 4735 of file z3py.py.
Referenced by AstVector.__getitem__().
| def __repr__ | ( | self | ) |
| def __setitem__ | ( | self, | |
| i, | |||
| v | |||
| ) |
| def push | ( | self, | |
| v | |||
| ) |
| def resize | ( | self, | |
| sz | |||
| ) |
| def sexpr | ( | self | ) |
| 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 4827 of file z3py.py.
| ctx |
Definition at line 4723 of file z3py.py.
Referenced by Probe.__eq__(), Probe.__ge__(), AstVector.__getitem__(), ApplyResult.__getitem__(), Probe.__gt__(), Probe.__le__(), Probe.__lt__(), Probe.__ne__(), Tactic.apply(), ApplyResult.as_expr(), ApplyResult.convert_model(), Fixedpoint.get_assertions(), Fixedpoint.get_cover_delta(), Fixedpoint.get_rules(), Tactic.param_descrs(), Fixedpoint.parse_file(), Fixedpoint.parse_string(), Tactic.solver(), and Fixedpoint.statistics().
| vector |
Definition at line 4721 of file z3py.py.
Referenced by AstVector.__del__(), AstVector.__getitem__(), AstVector.__len__(), AstVector.__setitem__(), AstVector.push(), AstVector.resize(), AstVector.sexpr(), and AstVector.translate().
1.8.2