(self)
return None
Get the expression that starts at offset 0 and covers the entire PropValue. Returns None if there are no
        expressions or multiple expressions.
Get the expression that starts at offset 0 and covers the entire PropValue. Returns None if there are no
        expressions or multiple expressions.
Get the expression that starts at offset 0 and covers the entire PropValue . Returns None if there are no expressions or multiple expressions .
def one_expr(self) -> Optional[ailment.Expression]:
        """
        Get the expression that starts at offset 0 and covers the entire PropValue. Returns None if there are no
        expressions or multiple expressions.
        """
        if self.offset_and_details and len(self.offset_and_details) == 1:
            if 0 in self.offset_and_details:
                detail = self.offset_and_details[0]
                if detail.size == self.value.size() // 8:
                    return detail.expr
        return None
def one_expr ( self ) -> Optional [ ailment . Expression ] : if self . offset_and_details and len ( self . offset_and_details ) == 1 : if 0 in self . offset_and_details : detail = self . offset_and_details [ 0 ] if detail . size == self . value . size ( ) // 8 : return detail . expr return None