|
CBMC
|
Used for configuring the behaviour of expr2c and type2c. More...
#include <expr2c.h>
Collaboration diagram for expr2c_configurationt:Public Member Functions | |
| expr2c_configurationt (const bool include_struct_padding_components, const bool print_struct_body_in_type, const bool include_array_size, const std::string &true_string, const std::string &false_string, const bool use_library_macros, const bool print_enum_int_value, const bool expand_typedef) | |
Public Attributes | |
| bool | include_struct_padding_components |
| When printing struct_typet or struct_exprt, include the artificial padding components introduced to keep the struct aligned. | |
| bool | print_struct_body_in_type |
| When printing a struct_typet, should the components of the struct be printed inline. | |
| bool | include_array_size |
| When printing array_typet, should the size of the array be printed. | |
| std::string | true_string |
| This is the string that will be printed for the true boolean expression. | |
| std::string | false_string |
| This is the string that will be printed for the false boolean expression. | |
| bool | use_library_macros |
| This is the string that will be printed for null pointers. | |
| bool | print_enum_int_value |
| When printing an enum-typed constant, print the integer representation. | |
| bool | expand_typedef |
| Print the expanded type instead of a typedef name, even when a typedef is present. | |
Static Public Attributes | |
| static expr2c_configurationt | default_configuration |
| This prints a human readable C like syntax that closely mirrors the internals of the GOTO program. | |
| static expr2c_configurationt | clean_configuration |
| This prints compilable C that loses some of the internal details of the GOTO program. | |
|
inline |
|
static |
|
static |
| bool expr2c_configurationt::expand_typedef |
| std::string expr2c_configurationt::false_string |
| bool expr2c_configurationt::include_array_size |
When printing array_typet, should the size of the array be printed.
| bool expr2c_configurationt::include_struct_padding_components |
When printing struct_typet or struct_exprt, include the artificial padding components introduced to keep the struct aligned.
| bool expr2c_configurationt::print_enum_int_value |
| bool expr2c_configurationt::print_struct_body_in_type |
When printing a struct_typet, should the components of the struct be printed inline.
| std::string expr2c_configurationt::true_string |
| bool expr2c_configurationt::use_library_macros |