4 class FooSyntheticProvider
:
5 def __init__(self
, valobj
, dict):
6 target
= valobj
.GetTarget()
7 data
= lldb
.SBData
.CreateDataFromCString(lldb
.eByteOrderLittle
, 8, "S")
8 self
._child
= valobj
.CreateValueFromData(
9 "synth_child", data
, target
.GetBasicType(lldb
.eBasicTypeChar
)
12 def num_children(self
):
15 def get_child_at_index(self
, index
):
20 def get_child_index(self
, name
):
21 if name
== "synth_child":