LLDB mainline
lldb_private::AppleObjCTypeEncodingParser Class Reference

#include <AppleObjCTypeEncodingParser.h>

Inheritance diagram for lldb_private::AppleObjCTypeEncodingParser:
[legend]

Classes

struct  StructElement

Public Member Functions

 AppleObjCTypeEncodingParser (ObjCLanguageRuntime &runtime)
 ~AppleObjCTypeEncodingParser () override=default
CompilerType RealizeType (TypeSystemClang &ast_ctx, const char *name, bool for_expression) override
Public Member Functions inherited from lldb_private::ObjCLanguageRuntime::EncodingToType
virtual ~EncodingToType ()
virtual CompilerType RealizeType (const char *name, bool for_expression)

Private Member Functions

clang::QualType BuildType (TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression, uint32_t *bitfield_bit_size=nullptr)
clang::QualType BuildStruct (TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression)
clang::QualType BuildAggregate (TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression, char opener, char closer, uint32_t kind)
clang::QualType BuildUnion (TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression)
clang::QualType BuildArray (TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression)
std::string ReadStructName (StringLexer &type)
StructElement ReadStructElement (TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression)
clang::QualType BuildObjCObjectPointerType (TypeSystemClang &clang_ast_ctx, StringLexer &type, bool for_expression)
uint32_t ReadNumber (StringLexer &type)
std::optional< std::string > ReadQuotedString (StringLexer &type)

Private Attributes

ObjCLanguageRuntimem_runtime

Additional Inherited Members

Protected Attributes inherited from lldb_private::ObjCLanguageRuntime::EncodingToType
std::shared_ptr< TypeSystemClangm_scratch_ast_ctx_sp

Detailed Description

Definition at line 20 of file AppleObjCTypeEncodingParser.h.

Constructor & Destructor Documentation

◆ AppleObjCTypeEncodingParser()

◆ ~AppleObjCTypeEncodingParser()

lldb_private::AppleObjCTypeEncodingParser::~AppleObjCTypeEncodingParser ( )
overridedefault

Member Function Documentation

◆ BuildAggregate()

◆ BuildArray()

clang::QualType AppleObjCTypeEncodingParser::BuildArray ( TypeSystemClang & ast_ctx,
StringLexer & type,
bool for_expression )
private

◆ BuildObjCObjectPointerType()

◆ BuildStruct()

clang::QualType AppleObjCTypeEncodingParser::BuildStruct ( TypeSystemClang & ast_ctx,
StringLexer & type,
bool for_expression )
private

Definition at line 90 of file AppleObjCTypeEncodingParser.cpp.

References _C_STRUCT_B, _C_STRUCT_E, and BuildAggregate().

Referenced by BuildType().

◆ BuildType()

◆ BuildUnion()

clang::QualType AppleObjCTypeEncodingParser::BuildUnion ( TypeSystemClang & ast_ctx,
StringLexer & type,
bool for_expression )
private

Definition at line 96 of file AppleObjCTypeEncodingParser.cpp.

References _C_UNION_B, _C_UNION_E, and BuildAggregate().

Referenced by BuildType().

◆ ReadNumber()

uint32_t AppleObjCTypeEncodingParser::ReadNumber ( StringLexer & type)
private

◆ ReadQuotedString()

◆ ReadStructElement()

◆ ReadStructName()

◆ RealizeType()

CompilerType AppleObjCTypeEncodingParser::RealizeType ( TypeSystemClang & ast_ctx,
const char * name,
bool for_expression )
overridevirtual

Member Data Documentation

◆ m_runtime

ObjCLanguageRuntime& lldb_private::AppleObjCTypeEncodingParser::m_runtime
private

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