8 def __init__(self, valobj, dict):
11 def num_children(self):
12 if self.char.IsValid():
16 def get_child_index(self, name):
19 def get_child_at_index(self, index):
21 return self.x.Cast(self.char)
23 return self.valobj.CreateValueFromExpression(
24 str(index), '(char)(' + str(self.count) + ')')
25 return self.x.CreateChildAtOffset(str(index),
30 self.x = self.valobj.GetChildMemberWithName('x')
31 self.char = self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar)
35 return True # important: if we return False here, or fail to return, the test will fail
38 def __lldb_init_module(debugger, dict):