Lines Matching refs:description
146 # If the description does not have a version number, then we compare the
159 def __eq__(self, description):
160 if description == self.GetDescription():
165 return self.compiler == description
167 def __ne__(self, description):
168 return not self.__eq__(description)
170 def __lt__(self, description):
171 return self.CompareVersion(operator.lt, description)
173 def __le__(self, description):
174 return self.CompareVersion(operator.le, description)
176 def __ge__(self, description):
177 return self.CompareVersion(operator.ge, description)
179 def __gt__(self, description):
180 return self.CompareVersion(operator.gt, description)
182 # Comparing the provided `description` string, in the form of
185 def CompareVersion(self, operator, description):
186 match = re.search('^(\S+)-(.*?)$', description)