LLDB  mainline
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::AppleObjCTypeEncodingParser Class Reference

#include <AppleObjCTypeEncodingParser.h>

Inheritance diagram for lldb_private::AppleObjCTypeEncodingParser:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::AppleObjCTypeEncodingParser:
Collaboration graph
[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::string ReadQuotedString (StringLexer &type)
 

Private Attributes

ObjCLanguageRuntimem_runtime
 

Additional Inherited Members

- Protected Attributes inherited from lldb_private::ObjCLanguageRuntime::EncodingToType
std::unique_ptr< TypeSystemClangm_scratch_ast_ctx_up
 

Detailed Description

Definition at line 20 of file AppleObjCTypeEncodingParser.h.

Constructor & Destructor Documentation

◆ AppleObjCTypeEncodingParser()

AppleObjCTypeEncodingParser::AppleObjCTypeEncodingParser ( ObjCLanguageRuntime runtime)

◆ ~AppleObjCTypeEncodingParser()

lldb_private::AppleObjCTypeEncodingParser::~AppleObjCTypeEncodingParser ( )
overridedefault

Member Function Documentation

◆ BuildAggregate()

clang::QualType AppleObjCTypeEncodingParser::BuildAggregate ( TypeSystemClang clang_ast_ctx,
StringLexer type,
bool  for_expression,
char  opener,
char  closer,
uint32_t  kind 
)
private

◆ BuildArray()

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

◆ BuildObjCObjectPointerType()

clang::QualType AppleObjCTypeEncodingParser::BuildObjCObjectPointerType ( TypeSystemClang clang_ast_ctx,
StringLexer type,
bool  for_expression 
)
private

◆ BuildStruct()

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

Definition at line 79 of file AppleObjCTypeEncodingParser.cpp.

References BuildAggregate().

Referenced by BuildType().

◆ BuildType()

clang::QualType AppleObjCTypeEncodingParser::BuildType ( TypeSystemClang clang_ast_ctx,
StringLexer type,
bool  for_expression,
uint32_t bitfield_bit_size = nullptr 
)
private

◆ BuildUnion()

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

Definition at line 85 of file AppleObjCTypeEncodingParser.cpp.

References BuildAggregate().

Referenced by BuildType().

◆ ReadNumber()

uint32_t AppleObjCTypeEncodingParser::ReadNumber ( StringLexer type)
private

◆ ReadQuotedString()

std::string AppleObjCTypeEncodingParser::ReadQuotedString ( StringLexer type)
private

◆ ReadStructElement()

AppleObjCTypeEncodingParser::StructElement AppleObjCTypeEncodingParser::ReadStructElement ( TypeSystemClang ast_ctx,
StringLexer type,
bool  for_expression 
)
private

◆ ReadStructName()

std::string AppleObjCTypeEncodingParser::ReadStructName ( StringLexer type)
private

◆ 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

Definition at line 68 of file AppleObjCTypeEncodingParser.h.

Referenced by BuildObjCObjectPointerType().


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