def get_unqualified_type_name(self): tag = self.ty.tag if tag is None: return tag return rustpp.extract_type_name(tag).replace("&'static ", "&")
def get_unqualified_type_name(self): qualified_name = self.ty.GetName() if qualified_name is None: return qualified_name return rustpp.extract_type_name(qualified_name).replace("&'static ", "&")
def get_unqualified_type_name(self): qualified_name = self.ty.GetName() if qualified_name is None: return qualified_name return rustpp.extract_type_name(qualified_name).replace( "&'static ", "&")
def render_child(child_index): this = "" if not is_tuple_like: field_name = fields[child_index].name this += field_name + ": " field_val = val.get_child_at_index(child_index) if not field_val.get_wrapped_value().IsValid(): field = fields[child_index] # LLDB is not good at handling zero-sized values, so we have to help # it a little if field.GetType().GetByteSize() == 0: return this + rustpp.extract_type_name(field.GetType().GetName()) else: return this + "<invalid value>" return this + print_val(field_val.get_wrapped_value(), internal_dict)
def render_child(child_index): this = "" if not is_tuple_like: field_name = fields[child_index].name this += field_name + ": " field_val = val.get_child_at_index(child_index) if not field_val.get_wrapped_value().IsValid(): field = fields[child_index] # LLDB is not good at handling zero-sized values, so we have to help # it a little if field.GetType().GetByteSize() == 0: return this + rustpp.extract_type_name( field.GetType().GetName()) else: return this + "<invalid value>" return this + print_val(field_val.get_wrapped_value(), internal_dict)