|
const ternary_exprt & | to_ternary_expr (const exprt &expr) |
| Cast an exprt to a ternary_exprt.
|
|
ternary_exprt & | to_ternary_expr (exprt &expr) |
| Cast an exprt to a ternary_exprt.
|
|
template<> |
bool | can_cast_expr< symbol_exprt > (const exprt &base) |
|
void | validate_expr (const symbol_exprt &value) |
|
const symbol_exprt & | to_symbol_expr (const exprt &expr) |
| Cast an exprt to a symbol_exprt.
|
|
symbol_exprt & | to_symbol_expr (exprt &expr) |
| Cast an exprt to a symbol_exprt.
|
|
template<> |
bool | can_cast_expr< nondet_symbol_exprt > (const exprt &base) |
|
void | validate_expr (const nondet_symbol_exprt &value) |
|
const nondet_symbol_exprt & | to_nondet_symbol_expr (const exprt &expr) |
| Cast an exprt to a nondet_symbol_exprt.
|
|
nondet_symbol_exprt & | to_nondet_symbol_expr (exprt &expr) |
| Cast an exprt to a nondet_symbol_exprt.
|
|
template<> |
bool | can_cast_expr< unary_exprt > (const exprt &base) |
|
void | validate_expr (const unary_exprt &value) |
|
const unary_exprt & | to_unary_expr (const exprt &expr) |
| Cast an exprt to a unary_exprt.
|
|
unary_exprt & | to_unary_expr (exprt &expr) |
| Cast an exprt to a unary_exprt.
|
|
template<> |
bool | can_cast_expr< abs_exprt > (const exprt &base) |
|
void | validate_expr (const abs_exprt &value) |
|
const abs_exprt & | to_abs_expr (const exprt &expr) |
| Cast an exprt to a abs_exprt.
|
|
abs_exprt & | to_abs_expr (exprt &expr) |
| Cast an exprt to a abs_exprt.
|
|
template<> |
bool | can_cast_expr< unary_minus_exprt > (const exprt &base) |
|
void | validate_expr (const unary_minus_exprt &value) |
|
const unary_minus_exprt & | to_unary_minus_expr (const exprt &expr) |
| Cast an exprt to a unary_minus_exprt.
|
|
unary_minus_exprt & | to_unary_minus_expr (exprt &expr) |
| Cast an exprt to a unary_minus_exprt.
|
|
template<> |
bool | can_cast_expr< unary_plus_exprt > (const exprt &base) |
|
void | validate_expr (const unary_plus_exprt &value) |
|
const unary_plus_exprt & | to_unary_plus_expr (const exprt &expr) |
| Cast an exprt to a unary_plus_exprt.
|
|
unary_plus_exprt & | to_unary_plus_expr (exprt &expr) |
| Cast an exprt to a unary_minus_exprt.
|
|
template<> |
bool | can_cast_expr< sign_exprt > (const exprt &base) |
|
void | validate_expr (const sign_exprt &expr) |
|
const sign_exprt & | to_sign_expr (const exprt &expr) |
| Cast an exprt to a sign_exprt.
|
|
sign_exprt & | to_sign_expr (exprt &expr) |
| Cast an exprt to a sign_exprt.
|
|
template<> |
bool | can_cast_expr< binary_exprt > (const exprt &base) |
|
void | validate_expr (const binary_exprt &value) |
|
const binary_exprt & | to_binary_expr (const exprt &expr) |
| Cast an exprt to a binary_exprt.
|
|
binary_exprt & | to_binary_expr (exprt &expr) |
| Cast an exprt to a binary_exprt.
|
|
template<> |
bool | can_cast_expr< binary_relation_exprt > (const exprt &base) |
|
void | validate_expr (const binary_relation_exprt &value) |
|
template<> |
bool | can_cast_expr< greater_than_exprt > (const exprt &base) |
|
void | validate_expr (const greater_than_exprt &value) |
|
template<> |
bool | can_cast_expr< greater_than_or_equal_exprt > (const exprt &base) |
|
void | validate_expr (const greater_than_or_equal_exprt &value) |
|
template<> |
bool | can_cast_expr< less_than_exprt > (const exprt &base) |
|
void | validate_expr (const less_than_exprt &value) |
|
template<> |
bool | can_cast_expr< less_than_or_equal_exprt > (const exprt &base) |
|
void | validate_expr (const less_than_or_equal_exprt &value) |
|
const binary_relation_exprt & | to_binary_relation_expr (const exprt &expr) |
| Cast an exprt to a binary_relation_exprt.
|
|
binary_relation_exprt & | to_binary_relation_expr (exprt &expr) |
| Cast an exprt to a binary_relation_exprt.
|
|
const multi_ary_exprt & | to_multi_ary_expr (const exprt &expr) |
| Cast an exprt to a multi_ary_exprt.
|
|
multi_ary_exprt & | to_multi_ary_expr (exprt &expr) |
| Cast an exprt to a multi_ary_exprt.
|
|
template<> |
bool | can_cast_expr< plus_exprt > (const exprt &base) |
|
void | validate_expr (const plus_exprt &value) |
|
const plus_exprt & | to_plus_expr (const exprt &expr) |
| Cast an exprt to a plus_exprt.
|
|
plus_exprt & | to_plus_expr (exprt &expr) |
| Cast an exprt to a plus_exprt.
|
|
template<> |
bool | can_cast_expr< minus_exprt > (const exprt &base) |
|
void | validate_expr (const minus_exprt &value) |
|
const minus_exprt & | to_minus_expr (const exprt &expr) |
| Cast an exprt to a minus_exprt.
|
|
minus_exprt & | to_minus_expr (exprt &expr) |
| Cast an exprt to a minus_exprt.
|
|
template<> |
bool | can_cast_expr< mult_exprt > (const exprt &base) |
|
void | validate_expr (const mult_exprt &value) |
|
const mult_exprt & | to_mult_expr (const exprt &expr) |
| Cast an exprt to a mult_exprt.
|
|
mult_exprt & | to_mult_expr (exprt &expr) |
| Cast an exprt to a mult_exprt.
|
|
template<> |
bool | can_cast_expr< div_exprt > (const exprt &base) |
|
void | validate_expr (const div_exprt &value) |
|
const div_exprt & | to_div_expr (const exprt &expr) |
| Cast an exprt to a div_exprt.
|
|
div_exprt & | to_div_expr (exprt &expr) |
| Cast an exprt to a div_exprt.
|
|
template<> |
bool | can_cast_expr< mod_exprt > (const exprt &base) |
|
void | validate_expr (const mod_exprt &value) |
|
const mod_exprt & | to_mod_expr (const exprt &expr) |
| Cast an exprt to a mod_exprt.
|
|
mod_exprt & | to_mod_expr (exprt &expr) |
| Cast an exprt to a mod_exprt.
|
|
template<> |
bool | can_cast_expr< euclidean_mod_exprt > (const exprt &base) |
|
void | validate_expr (const euclidean_mod_exprt &value) |
|
const euclidean_mod_exprt & | to_euclidean_mod_expr (const exprt &expr) |
| Cast an exprt to a euclidean_mod_exprt.
|
|
euclidean_mod_exprt & | to_euclidean_mod_expr (exprt &expr) |
| Cast an exprt to a euclidean_mod_exprt.
|
|
template<> |
bool | can_cast_expr< equal_exprt > (const exprt &base) |
|
void | validate_expr (const equal_exprt &value) |
|
const equal_exprt & | to_equal_expr (const exprt &expr) |
| Cast an exprt to an equal_exprt.
|
|
equal_exprt & | to_equal_expr (exprt &expr) |
| Cast an exprt to an equal_exprt.
|
|
template<> |
bool | can_cast_expr< notequal_exprt > (const exprt &base) |
|
void | validate_expr (const notequal_exprt &value) |
|
const notequal_exprt & | to_notequal_expr (const exprt &expr) |
| Cast an exprt to an notequal_exprt.
|
|
notequal_exprt & | to_notequal_expr (exprt &expr) |
| Cast an exprt to an notequal_exprt.
|
|
template<> |
bool | can_cast_expr< index_exprt > (const exprt &base) |
|
void | validate_expr (const index_exprt &value) |
|
const index_exprt & | to_index_expr (const exprt &expr) |
| Cast an exprt to an index_exprt.
|
|
index_exprt & | to_index_expr (exprt &expr) |
| Cast an exprt to an index_exprt.
|
|
template<> |
bool | can_cast_expr< array_of_exprt > (const exprt &base) |
|
void | validate_expr (const array_of_exprt &value) |
|
const array_of_exprt & | to_array_of_expr (const exprt &expr) |
| Cast an exprt to an array_of_exprt.
|
|
array_of_exprt & | to_array_of_expr (exprt &expr) |
| Cast an exprt to an array_of_exprt.
|
|
template<> |
bool | can_cast_expr< array_exprt > (const exprt &base) |
|
const array_exprt & | to_array_expr (const exprt &expr) |
| Cast an exprt to an array_exprt.
|
|
array_exprt & | to_array_expr (exprt &expr) |
| Cast an exprt to an array_exprt.
|
|
template<> |
bool | can_cast_expr< array_list_exprt > (const exprt &base) |
|
void | validate_expr (const array_list_exprt &value) |
|
const array_list_exprt & | to_array_list_expr (const exprt &expr) |
|
array_list_exprt & | to_array_list_expr (exprt &expr) |
|
template<> |
bool | can_cast_expr< vector_exprt > (const exprt &base) |
|
const vector_exprt & | to_vector_expr (const exprt &expr) |
| Cast an exprt to an vector_exprt.
|
|
vector_exprt & | to_vector_expr (exprt &expr) |
| Cast an exprt to an vector_exprt.
|
|
template<> |
bool | can_cast_expr< union_exprt > (const exprt &base) |
|
void | validate_expr (const union_exprt &value) |
|
const union_exprt & | to_union_expr (const exprt &expr) |
| Cast an exprt to a union_exprt.
|
|
union_exprt & | to_union_expr (exprt &expr) |
| Cast an exprt to a union_exprt.
|
|
template<> |
bool | can_cast_expr< empty_union_exprt > (const exprt &base) |
|
void | validate_expr (const empty_union_exprt &value) |
|
const empty_union_exprt & | to_empty_union_expr (const exprt &expr) |
| Cast an exprt to an empty_union_exprt.
|
|
empty_union_exprt & | to_empty_union_expr (exprt &expr) |
| Cast an exprt to an empty_union_exprt.
|
|
template<> |
bool | can_cast_expr< struct_exprt > (const exprt &base) |
|
const struct_exprt & | to_struct_expr (const exprt &expr) |
| Cast an exprt to a struct_exprt.
|
|
struct_exprt & | to_struct_expr (exprt &expr) |
| Cast an exprt to a struct_exprt.
|
|
template<> |
bool | can_cast_expr< complex_exprt > (const exprt &base) |
|
void | validate_expr (const complex_exprt &value) |
|
const complex_exprt & | to_complex_expr (const exprt &expr) |
| Cast an exprt to a complex_exprt.
|
|
complex_exprt & | to_complex_expr (exprt &expr) |
| Cast an exprt to a complex_exprt.
|
|
template<> |
bool | can_cast_expr< complex_real_exprt > (const exprt &base) |
|
void | validate_expr (const complex_real_exprt &expr) |
|
const complex_real_exprt & | to_complex_real_expr (const exprt &expr) |
| Cast an exprt to a complex_real_exprt.
|
|
complex_real_exprt & | to_complex_real_expr (exprt &expr) |
| Cast an exprt to a complex_real_exprt.
|
|
template<> |
bool | can_cast_expr< complex_imag_exprt > (const exprt &base) |
|
void | validate_expr (const complex_imag_exprt &expr) |
|
const complex_imag_exprt & | to_complex_imag_expr (const exprt &expr) |
| Cast an exprt to a complex_imag_exprt.
|
|
complex_imag_exprt & | to_complex_imag_expr (exprt &expr) |
| Cast an exprt to a complex_imag_exprt.
|
|
template<> |
bool | can_cast_expr< typecast_exprt > (const exprt &base) |
|
void | validate_expr (const typecast_exprt &value) |
|
const typecast_exprt & | to_typecast_expr (const exprt &expr) |
| Cast an exprt to a typecast_exprt.
|
|
typecast_exprt & | to_typecast_expr (exprt &expr) |
| Cast an exprt to a typecast_exprt.
|
|
exprt | conjunction (const exprt::operandst &) |
| 1) generates a conjunction for two or more operands 2) for one operand, returns the operand 3) returns true otherwise
|
|
template<> |
bool | can_cast_expr< and_exprt > (const exprt &base) |
|
const and_exprt & | to_and_expr (const exprt &expr) |
| Cast an exprt to a and_exprt.
|
|
and_exprt & | to_and_expr (exprt &expr) |
| Cast an exprt to a and_exprt.
|
|
const nand_exprt & | to_nand_expr (const exprt &expr) |
| Cast an exprt to a nand_exprt.
|
|
nand_exprt & | to_nand_expr (exprt &expr) |
| Cast an exprt to a nand_exprt.
|
|
template<> |
bool | can_cast_expr< implies_exprt > (const exprt &base) |
|
void | validate_expr (const implies_exprt &value) |
|
const implies_exprt & | to_implies_expr (const exprt &expr) |
| Cast an exprt to a implies_exprt.
|
|
implies_exprt & | to_implies_expr (exprt &expr) |
| Cast an exprt to a implies_exprt.
|
|
exprt | disjunction (const exprt::operandst &) |
| 1) generates a disjunction for two or more operands 2) for one operand, returns the operand 3) returns false otherwise
|
|
template<> |
bool | can_cast_expr< or_exprt > (const exprt &base) |
|
const or_exprt & | to_or_expr (const exprt &expr) |
| Cast an exprt to a or_exprt.
|
|
or_exprt & | to_or_expr (exprt &expr) |
| Cast an exprt to a or_exprt.
|
|
const nor_exprt & | to_nor_expr (const exprt &expr) |
| Cast an exprt to a nor_exprt.
|
|
nor_exprt & | to_nor_expr (exprt &expr) |
| Cast an exprt to a nor_exprt.
|
|
template<> |
bool | can_cast_expr< xor_exprt > (const exprt &base) |
|
const xor_exprt & | to_xor_expr (const exprt &expr) |
| Cast an exprt to a xor_exprt.
|
|
xor_exprt & | to_xor_expr (exprt &expr) |
| Cast an exprt to a xor_exprt.
|
|
template<> |
bool | can_cast_expr< xnor_exprt > (const exprt &base) |
|
const xnor_exprt & | to_xnor_expr (const exprt &expr) |
| Cast an exprt to a xnor_exprt.
|
|
xnor_exprt & | to_xnor_expr (exprt &expr) |
| Cast an exprt to a xnor_exprt.
|
|
template<> |
bool | can_cast_expr< not_exprt > (const exprt &base) |
|
void | validate_expr (const not_exprt &value) |
|
const not_exprt & | to_not_expr (const exprt &expr) |
| Cast an exprt to an not_exprt.
|
|
not_exprt & | to_not_expr (exprt &expr) |
| Cast an exprt to an not_exprt.
|
|
template<> |
bool | can_cast_expr< if_exprt > (const exprt &base) |
|
void | validate_expr (const if_exprt &value) |
|
const if_exprt & | to_if_expr (const exprt &expr) |
| Cast an exprt to an if_exprt.
|
|
if_exprt & | to_if_expr (exprt &expr) |
| Cast an exprt to an if_exprt.
|
|
template<> |
bool | can_cast_expr< with_exprt > (const exprt &base) |
|
void | validate_expr (const with_exprt &value) |
|
const with_exprt & | to_with_expr (const exprt &expr) |
| Cast an exprt to a with_exprt.
|
|
with_exprt & | to_with_expr (exprt &expr) |
| Cast an exprt to a with_exprt.
|
|
template<> |
bool | can_cast_expr< index_designatort > (const exprt &base) |
|
void | validate_expr (const index_designatort &value) |
|
const index_designatort & | to_index_designator (const exprt &expr) |
| Cast an exprt to an index_designatort.
|
|
index_designatort & | to_index_designator (exprt &expr) |
| Cast an exprt to an index_designatort.
|
|
template<> |
bool | can_cast_expr< member_designatort > (const exprt &base) |
|
void | validate_expr (const member_designatort &value) |
|
const member_designatort & | to_member_designator (const exprt &expr) |
| Cast an exprt to an member_designatort.
|
|
member_designatort & | to_member_designator (exprt &expr) |
| Cast an exprt to an member_designatort.
|
|
template<> |
bool | can_cast_expr< update_exprt > (const exprt &base) |
|
void | validate_expr (const update_exprt &value) |
|
const update_exprt & | to_update_expr (const exprt &expr) |
| Cast an exprt to an update_exprt.
|
|
update_exprt & | to_update_expr (exprt &expr) |
| Cast an exprt to an update_exprt.
|
|
template<> |
bool | can_cast_expr< member_exprt > (const exprt &base) |
|
void | validate_expr (const member_exprt &value) |
|
const member_exprt & | to_member_expr (const exprt &expr) |
| Cast an exprt to a member_exprt.
|
|
member_exprt & | to_member_expr (exprt &expr) |
| Cast an exprt to a member_exprt.
|
|
template<> |
bool | can_cast_expr< type_exprt > (const exprt &base) |
|
const type_exprt & | to_type_expr (const exprt &expr) |
| Cast an exprt to an type_exprt.
|
|
type_exprt & | to_type_expr (exprt &expr) |
| Cast an exprt to an type_exprt.
|
|
template<> |
bool | can_cast_expr< constant_exprt > (const exprt &base) |
|
void | validate_expr (const constant_exprt &value) |
|
const constant_exprt & | to_constant_expr (const exprt &expr) |
| Cast an exprt to a constant_exprt.
|
|
constant_exprt & | to_constant_expr (exprt &expr) |
| Cast an exprt to a constant_exprt.
|
|
template<> |
bool | can_cast_expr< nil_exprt > (const exprt &base) |
|
template<> |
bool | can_cast_expr< binding_exprt > (const exprt &base) |
|
void | validate_expr (const binding_exprt &binding_expr) |
|
const binding_exprt & | to_binding_expr (const exprt &expr) |
| Cast an exprt to a binding_exprt.
|
|
binding_exprt & | to_binding_expr (exprt &expr) |
| Cast an exprt to a binding_exprt.
|
|
template<> |
bool | can_cast_expr< let_exprt > (const exprt &base) |
|
void | validate_expr (const let_exprt &let_expr) |
|
const let_exprt & | to_let_expr (const exprt &expr) |
| Cast an exprt to a let_exprt.
|
|
let_exprt & | to_let_expr (exprt &expr) |
| Cast an exprt to a let_exprt.
|
|
template<> |
bool | can_cast_expr< cond_exprt > (const exprt &base) |
|
void | validate_expr (const cond_exprt &value) |
|
const cond_exprt & | to_cond_expr (const exprt &expr) |
| Cast an exprt to a cond_exprt.
|
|
cond_exprt & | to_cond_expr (exprt &expr) |
| Cast an exprt to a cond_exprt.
|
|
template<> |
bool | can_cast_expr< array_comprehension_exprt > (const exprt &base) |
|
void | validate_expr (const array_comprehension_exprt &value) |
|
const array_comprehension_exprt & | to_array_comprehension_expr (const exprt &expr) |
| Cast an exprt to a array_comprehension_exprt.
|
|
array_comprehension_exprt & | to_array_comprehension_expr (exprt &expr) |
| Cast an exprt to a array_comprehension_exprt.
|
|
void | validate_expr (const class class_method_descriptor_exprt &value) |
|
const class_method_descriptor_exprt & | to_class_method_descriptor_expr (const exprt &expr) |
| Cast an exprt to a class_method_descriptor_exprt.
|
|
template<> |
bool | can_cast_expr< class_method_descriptor_exprt > (const exprt &base) |
|
template<> |
bool | can_cast_expr< named_term_exprt > (const exprt &base) |
|
void | validate_expr (const named_term_exprt &value) |
|
const named_term_exprt & | to_named_term_expr (const exprt &expr) |
| Cast an exprt to a named_term_exprt.
|
|
named_term_exprt & | to_named_term_expr (exprt &expr) |
| Cast an exprt to a array_comprehension_exprt.
|
|