#include <yices_conv.h>
|
| | yices_smt_ast (smt_solver_baset *ctx, term_t _t, const smt_sort *_s) |
| | ~yices_smt_ast () override=default |
| void | assign (smt_solver_baset *ctx, smt_astt sym) const override |
| | Abstractly produce an assign.
|
| smt_astt | project (smt_solver_baset *ctx, unsigned int elem) const override |
| | Project a member from a structure, or an field-array from a struct array.
|
| smt_astt | update (smt_solver_baset *ctx, smt_astt value, unsigned int idx, const expr2tc &idx_expr=expr2tc()) const override |
| | Abstractly produce an "update", i.e., an array 'with' or tuple 'with'.
|
| void | dump () const override |
| | solver_smt_ast (smt_solver_baset *ctx, term_t _a, smt_sortt s) |
| | smt_ast (smt_solver_baset *ctx, smt_sortt s) |
| virtual | ~smt_ast ()=default |
| virtual smt_astt | with_sort (smt_solver_baset *ctx, smt_sortt s) const |
| | The same solver term under a different sort.
|
| virtual smt_astt | ite (smt_solver_baset *ctx, smt_astt cond, smt_astt falseop) const |
| virtual smt_astt | eq (smt_solver_baset *ctx, smt_astt other) const |
| | Abstractly produce an equality.
|
| virtual smt_astt | select (smt_solver_baset *ctx, const expr2tc &idx) const |
| | Select a value from an array, for both normal arrays and tuple arrays.
|
◆ yices_smt_ast()
◆ ~yices_smt_ast()
| yices_smt_ast::~yices_smt_ast |
( |
| ) |
|
|
overridedefault |
◆ assign()
Abstractly produce an assign.
Defaults to being an equality, however for some special cases up to the backend, there may be optimizations made for array or tuple assigns, and so forth.
- Parameters
-
| ctx | SMT context to do the assignment in. |
| sym | Symbol to assign to |
Reimplemented from smt_ast.
◆ dump()
| void yices_smt_ast::dump |
( |
| ) |
const |
|
overridevirtual |
◆ project()
Project a member from a structure, or an field-array from a struct array.
- Parameters
-
| ctx | SMT context to produce this in. |
| elem | Struct index to project. |
- Returns
- AST representing the chosen element / element-array
Reimplemented from smt_ast.
◆ update()
Abstractly produce an "update", i.e., an array 'with' or tuple 'with'.
- Parameters
-
| ctx | SMT context to make this update in. |
| value | Value to insert into the updated field |
| idx | Array index or tuple field |
| idx_expr | If an array, expression representing the index |
- Returns
- AST of this type, representing the update
Reimplemented from smt_ast.
◆ symname
| std::string yices_smt_ast::symname |
The documentation for this class was generated from the following files: