Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
explain_binary_size_delta.SymbolDelta Class Reference
Inheritance diagram for explain_binary_size_delta.SymbolDelta:
explain_binary_size_delta.DeltaInfo

Public Member Functions

def __init__ (self, shared)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def copy_symbol_delta (self)
 

Public Attributes

 old_size
 
 new_size
 
 shares_space_with_other_symbols
 

Detailed Description

Stores old size, new size and some metadata.

Definition at line 77 of file explain_binary_size_delta.py.

Constructor & Destructor Documentation

◆ __init__()

def explain_binary_size_delta.SymbolDelta.__init__ (   self,
  shared 
)

Reimplemented in explain_binary_size_delta.DeltaInfo.

Definition at line 80 of file explain_binary_size_delta.py.

80 def __init__(self, shared):
81 self.old_size = None
82 self.new_size = None
83 self.shares_space_with_other_symbols = shared
84

Member Function Documentation

◆ __eq__()

def explain_binary_size_delta.SymbolDelta.__eq__ (   self,
  other 
)

Reimplemented in explain_binary_size_delta.DeltaInfo.

Definition at line 85 of file explain_binary_size_delta.py.

85 def __eq__(self, other):
86 return (self.old_size == other.old_size and
87 self.new_size == other.new_size and
88 self.shares_space_with_other_symbols == other.
89 shares_space_with_other_symbols)
90

◆ __ne__()

def explain_binary_size_delta.SymbolDelta.__ne__ (   self,
  other 
)

Reimplemented in explain_binary_size_delta.DeltaInfo.

Definition at line 91 of file explain_binary_size_delta.py.

91 def __ne__(self, other):
92 return not self.__eq__(other)
93

◆ copy_symbol_delta()

def explain_binary_size_delta.SymbolDelta.copy_symbol_delta (   self)

Definition at line 94 of file explain_binary_size_delta.py.

94 def copy_symbol_delta(self):
95 symbol_delta = SymbolDelta(self.shares_space_with_other_symbols)
96 symbol_delta.old_size = self.old_size
97 symbol_delta.new_size = self.new_size
98 return symbol_delta
99
100

Member Data Documentation

◆ new_size

explain_binary_size_delta.SymbolDelta.new_size

Definition at line 82 of file explain_binary_size_delta.py.

◆ old_size

explain_binary_size_delta.SymbolDelta.old_size

Definition at line 81 of file explain_binary_size_delta.py.

◆ shares_space_with_other_symbols

explain_binary_size_delta.SymbolDelta.shares_space_with_other_symbols

Definition at line 83 of file explain_binary_size_delta.py.


The documentation for this class was generated from the following file: