29 return "(number conversion failed)";
45 return "(format-constant failed: "+expr.
id_string()+
")";
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Base class for all expressions.
bool is_constant() const
Return whether the expression is a constant.
typet & type()
Return the type of the expression.
std::string format(const format_spect &format_spec) const
An IEEE 754 floating-point value, including specificiation.
std::string format(const format_spect &format_spec) const
const std::string & id_string() const
const irep_idt & id() const
const std::string & id2string(const irep_idt &d)
const std::string integer2string(const mp_integer &n, unsigned base)
API to expression classes.
const constant_exprt & to_constant_expr(const exprt &expr)
Cast an exprt to a constant_exprt.
const string_constantt & to_string_constant(const exprt &expr)