INNER CODE UNIT · Python

__parse__

mongodb/mongo-c-driver · lldb_bson.py:212

        def __parse__(cls, value: SBValue) -> T:
            """
            Required method: Parse the data that lives at the given SBValue into
            a representation that will be useful for later display.
            """
            ...

    @classmethod
    @print_errors
    def __get_sbtype__(cls, frame: SBFrame, addr: int) -> SBType:
        """
        Obtain the SBType for this class. Can be overriden in subclasses, and
        the type may consider the value that lives at the address.
        """
        return generate_or_get_type(f'struct {cls.__typename__} {{}}', frame)

    @print_errors
    def __init__(self, val: SBValue, idict: InternalDict | None = None) -> None:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…