7 #ifndef RETDEC_INTEGRAL_TYPE_H
8 #define RETDEC_INTEGRAL_TYPE_H
22 static std::shared_ptr<IntegralTypeNode>
create(
30 std::string
typeName()
const override;
32 void printLeft(std::ostream &s)
const override;
Representation of built-in types in borland AST.
Node for representation of built-in types. Used for types: void, bool, char16_t, char32_t and wchar_t...
Definition: built_in_type.h:22
Storage for functions, types and names. Used for cacheing.
Definition: context.h:38
Representation of integral types.
Definition: integral_type.h:20
IntegralTypeNode(const std::string &typeName, bool isUnsigned, const Qualifiers &quals)
Private constructor for integral types. Use create().
Definition: integral_type.cpp:18
void printLeft(std::ostream &s) const override
Prints text representation of type with qualifiers to output stream.
Definition: integral_type.cpp:66
bool isUnsigned()
Definition: integral_type.cpp:53
bool _isUnsigned
Definition: integral_type.h:41
std::string typeName() const override
Definition: integral_type.cpp:58
static std::shared_ptr< IntegralTypeNode > create(Context &context, const std::string &typeName, bool isUnsigned, const Qualifiers &quals)
Function for creating integral types. If type the same type was already created, then that instance i...
Definition: integral_type.cpp:34
Definition: qualifiers.h:20
Qualifiers quals()
Definition: type_node.cpp:23
Definition: archive_wrapper.h:19