c263190c10286c20cfe424e0430c615e2b291682
[openbsd] /
1 import lldb
2 import lldb.formatters
3 import lldb.formatters.synth
4
5
6 class SyntheticChildrenProvider(
7         lldb.formatters.synth.PythonObjectSyntheticChildProvider):
8
9     def __init__(self, value, internal_dict):
10         lldb.formatters.synth.PythonObjectSyntheticChildProvider.__init__(
11             self, value, internal_dict)
12
13     def make_children(self):
14         return [("ID", 123456),
15                 ("Name", "Enrico"),
16                 ("Rate", 1.25)]