reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
import lldb
import lldb.formatters
import lldb.formatters.synth


class SyntheticChildrenProvider(
        lldb.formatters.synth.PythonObjectSyntheticChildProvider):

    def __init__(self, value, internal_dict):
        lldb.formatters.synth.PythonObjectSyntheticChildProvider.__init__(
            self, value, internal_dict)

    def make_children(self):
        return [("ID", 123456),
                ("Name", "Enrico"),
                ("Rate", 1.25)]