Loading...
Searching...
No Matches
expr2cppt Class Reference
+ Inheritance diagram for expr2cppt:
+ Collaboration diagram for expr2cppt:
- Public Member Functions inherited from
expr2ct
Build a declaration string, which requires converting both a type and putting an identifier in the syntactically correct position.
Protected Member Functions
- Protected Member Functions inherited from
expr2ct
To generate C-like string for defining the given struct.
To generate C-like string for declaring (or defining) the given struct.
To generate a C-like type declaration of an array.
To generate a C-like type declaration of an array.
Conversion function from rol/ror expressions to C code strings Note that this constructs a complex expression to do bit twiddling since rol/ror operations are not native to ANSI-C.
Returns a string if src is a function with a known conversion, else returns nullopt.
To get the C-like representation of a given boolean value.
To generate a C-like string representing a struct.
Additional Inherited Members
- Static Protected Member Functions inherited from
expr2ct
- Protected Attributes inherited from
expr2ct
Detailed Description
Constructor & Destructor Documentation
◆ expr2cppt()
Member Function Documentation
◆ convert_code()
std::string expr2cppt::convert_code
(
const codet &
src,
)
overrideprotectedvirtual
◆ convert_code_cpp_delete()
std::string expr2cppt::convert_code_cpp_delete
(
const exprt &
src,
)
protected
◆ convert_code_cpp_new()
std::string expr2cppt::convert_code_cpp_new
(
const exprt &
src,
)
protected
◆ convert_constant()
)
overrideprotectedvirtual
◆ convert_cpp_new()
std::string expr2cppt::convert_cpp_new
(
const exprt &
src )
protected
◆ convert_cpp_this()
std::string expr2cppt::convert_cpp_this
(
)
protected
◆ convert_extractbit()
std::string expr2cppt::convert_extractbit
(
const exprt &
src )
protected
◆ convert_rec()
std::string expr2cppt::convert_rec
(
const typet &
src,
const std::string &
declarator
)
overrideprotectedvirtual
◆ convert_struct()
std::string expr2cppt::convert_struct
(
const exprt &
src,
)
overrideprotectedvirtual
◆ convert_with_precedence()
std::string expr2cppt::convert_with_precedence
(
const exprt &
src,
)
overrideprotectedvirtual
The documentation for this class was generated from the following file: