CBMC
convert_dint_literal.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Statement List Language Conversion
4 
5 Author: Matthias Weiss, matthias.weiss@diffblue.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_STATEMENT_LIST_CONVERTERS_CONVERT_DINT_LITERAL_H
13 #define CPROVER_STATEMENT_LIST_CONVERTERS_CONVERT_DINT_LITERAL_H
14 
15 #include <util/std_expr.h>
16 
20 constant_exprt convert_dint_dec_literal_value(const std::string &src);
21 
25 constant_exprt convert_dint_hex_literal_value(const std::string &src);
26 
30 constant_exprt convert_dint_bit_literal_value(const std::string &src);
31 
32 #endif // CPROVER_STATEMENT_LIST_CONVERTERS_CONVERT_DNT_LITERAL_H
A constant literal expression.
Definition: std_expr.h:3000
constant_exprt convert_dint_bit_literal_value(const std::string &src)
Converts a string into the corresponding 'DInt' expression.
constant_exprt convert_dint_dec_literal_value(const std::string &src)
Converts a string into the corresponding 'DInt' expression.
constant_exprt convert_dint_hex_literal_value(const std::string &src)
Converts a string into the corresponding 'DInt' expression.
API to expression classes.