retdec
Public Member Functions | Protected Member Functions | List of all members
retdec::demangler::AstToCtypesParser Class Reference

#include <ast_ctypes_parser.h>

Inheritance diagram for retdec::demangler::AstToCtypesParser:
Inheritance graph
[legend]
Collaboration diagram for retdec::demangler::AstToCtypesParser:
Collaboration graph
[legend]

Public Member Functions

 AstToCtypesParser ()=default
 
- Public Member Functions inherited from retdec::ctypesparser::CTypesParser
virtual ~CTypesParser ()=default
 

Protected Member Functions

unsigned getBitWidth (const std::string &typeName) const
 
ctypes::IntegralType::Signess toSigness (bool isUnsigned) const
 
ctypes::IntegralType::Signess toSigness (const std::string &typeName) const
 
ctypes::FunctionType::VarArgness toVarArgness (bool isVarArg) const
 
- Protected Member Functions inherited from retdec::ctypesparser::CTypesParser
 CTypesParser ()
 Creates new C-types parser. More...
 
 CTypesParser (unsigned defaultBitWidth)
 Creates new C-types parser. More...
 

Additional Inherited Members

- Public Types inherited from retdec::ctypesparser::CTypesParser
using TypeWidths = std::map< std::string, unsigned >
 Set container for C-types' bit width. More...
 
using TypeSignedness = std::map< std::string, ctypes::IntegralType::Signess >
 Set container for C-types' signedness. More...
 
- Protected Attributes inherited from retdec::ctypesparser::CTypesParser
std::shared_ptr< retdec::ctypes::Contextcontext
 Container for already parsed functions, types. More...
 
TypeWidths typeWidths
 C-types' bit widths. More...
 
TypeSignedness typeSignedness
 C-types' signedness. More...
 
unsigned defaultBitWidth = 0
 Bitwidth used for types not in typeWidths. More...
 

Constructor & Destructor Documentation

◆ AstToCtypesParser()

retdec::demangler::AstToCtypesParser::AstToCtypesParser ( )
default

Member Function Documentation

◆ getBitWidth()

unsigned retdec::demangler::AstToCtypesParser::getBitWidth ( const std::string &  typeName) const
protected

◆ toSigness() [1/2]

ctypes::IntegralType::Signess retdec::demangler::AstToCtypesParser::toSigness ( bool  isUnsigned) const
protected

◆ toSigness() [2/2]

ctypes::IntegralType::Signess retdec::demangler::AstToCtypesParser::toSigness ( const std::string &  typeName) const
protected

◆ toVarArgness()

ctypes::FunctionType::VarArgness retdec::demangler::AstToCtypesParser::toVarArgness ( bool  isVarArg) const
protected

The documentation for this class was generated from the following files: