Inheritance diagram for ASTVector:Public Member Functions | |
| int | size () |
| AST | get (int i) |
| void | set (int i, AST value) |
| void | resize (int newSize) |
| void | push (AST a) |
| ASTVector | translate (Context ctx) |
| String | toString () |
| AST[] | ToArray () |
| Expr[] | ToExprArray () |
| BoolExpr[] | ToBoolExprArray () |
| BitVecExpr[] | ToBitVecExprArray () |
| ArithExpr[] | ToArithExprExprArray () |
| ArrayExpr[] | ToArrayExprArray () |
| DatatypeExpr[] | ToDatatypeExprArray () |
| FPExpr[] | ToFPExprArray () |
| FPRMExpr[] | ToFPRMExprArray () |
| IntExpr[] | ToIntExprArray () |
| RealExpr[] | ToRealExprArray () |
Vectors of ASTs.
Definition at line 23 of file ASTVector.java.
|
inline |
Retrieves the i-th object in the vector. Remarks: May throw an IndexOutOfBoundsException when i is out of range.
| i | Index |
| Z3Exception |
Definition at line 41 of file ASTVector.java.
Referenced by Goal.__getitem__(), and Goal.as_expr().
|
inline |
Add the AST a to the back of the vector. The size is increased by 1.
| a | An AST |
Definition at line 68 of file ASTVector.java.
|
inline |
Resize the vector to newSize.
| newSize | The new size of the vector. |
Definition at line 58 of file ASTVector.java.
|
inline |
Definition at line 47 of file ASTVector.java.
|
inline |
The size of the vector
Definition at line 27 of file ASTVector.java.
Referenced by ParamDescrsRef.__len__(), Goal.__len__(), BitVecNumRef.as_signed_long(), Solver.getNumAssertions(), BitVecSortRef.subsort(), ASTVector.ToArithExprExprArray(), ASTVector.ToArray(), ASTVector.ToArrayExprArray(), ASTVector.ToBitVecExprArray(), ASTVector.ToBoolExprArray(), ASTVector.ToDatatypeExprArray(), ASTVector.ToExprArray(), ASTVector.ToFPExprArray(), ASTVector.ToFPRMExprArray(), ASTVector.ToIntExprArray(), and ASTVector.ToRealExprArray().
|
inline |
Translates the AST vector into an ArithExpr[]
Definition at line 164 of file ASTVector.java.
|
inline |
Translates the AST vector into an AST[]
Definition at line 117 of file ASTVector.java.
|
inline |
Translates the AST vector into an ArrayExpr[]
Definition at line 176 of file ASTVector.java.
|
inline |
Translates the AST vector into an BitVecExpr[]
Definition at line 152 of file ASTVector.java.
|
inline |
Translates the AST vector into an BoolExpr[]
Definition at line 140 of file ASTVector.java.
Referenced by Fixedpoint.getAssertions(), Optimize.getAssertions(), Solver.getAssertions(), Fixedpoint.getRules(), Optimize.getUnsatCore(), Solver.getUnsatCore(), Fixedpoint.ParseFile(), Context.parseSMTLIB2File(), Context.parseSMTLIB2String(), and Fixedpoint.ParseString().
|
inline |
Translates the AST vector into an DatatypeExpr[]
Definition at line 188 of file ASTVector.java.
|
inline |
Translates the AST vector into an Expr[]
Definition at line 129 of file ASTVector.java.
Referenced by Optimize.getObjectives(), and Model.getSortUniverse().
|
inline |
Translates the AST vector into an FPExpr[]
Definition at line 200 of file ASTVector.java.
|
inline |
Translates the AST vector into an FPRMExpr[]
Definition at line 212 of file ASTVector.java.
|
inline |
Translates the AST vector into an IntExpr[]
Definition at line 224 of file ASTVector.java.
|
inline |
Translates the AST vector into an RealExpr[]
Definition at line 236 of file ASTVector.java.
|
inline |
Retrieves a string representation of the vector.
Definition at line 90 of file ASTVector.java.
Translates all ASTs in the vector to ctx.
| ctx | A context |
| Z3Exception |
Definition at line 80 of file ASTVector.java.
Referenced by AstRef.__copy__(), Goal.__copy__(), AstVector.__copy__(), FuncInterp.__copy__(), ModelRef.__copy__(), Solver.__copy__(), Goal.__deepcopy__(), AstVector.__deepcopy__(), FuncInterp.__deepcopy__(), ModelRef.__deepcopy__(), and Solver.__deepcopy__().