Lines Matching refs:other

25   def Equals(self, other) -> bool:  argument
35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator':
36 return Operator('|', self, other)
38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator':
39 return Operator('|', other, self)
41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator':
42 return Operator('^', self, other)
44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator':
45 return Operator('&', self, other)
47 def __lt__(self, other: Union[int, float, 'Expression']) -> 'Operator':
48 return Operator('<', self, other)
50 def __gt__(self, other: Union[int, float, 'Expression']) -> 'Operator':
51 return Operator('>', self, other)
53 def __add__(self, other: Union[int, float, 'Expression']) -> 'Operator':
54 return Operator('+', self, other)
56 def __radd__(self, other: Union[int, float, 'Expression']) -> 'Operator':
57 return Operator('+', other, self)
59 def __sub__(self, other: Union[int, float, 'Expression']) -> 'Operator':
60 return Operator('-', self, other)
62 def __rsub__(self, other: Union[int, float, 'Expression']) -> 'Operator':
63 return Operator('-', other, self)
65 def __mul__(self, other: Union[int, float, 'Expression']) -> 'Operator':
66 return Operator('*', self, other)
68 def __rmul__(self, other: Union[int, float, 'Expression']) -> 'Operator':
69 return Operator('*', other, self)
71 def __truediv__(self, other: Union[int, float, 'Expression']) -> 'Operator':
72 return Operator('/', self, other)
74 def __rtruediv__(self, other: Union[int, float, 'Expression']) -> 'Operator':
75 return Operator('/', other, self)
77 def __mod__(self, other: Union[int, float, 'Expression']) -> 'Operator':
78 return Operator('%', self, other)
116 other: Expression,
138 if isinstance(other, Operator):
140 other.operator, -1):
143 other.operator, -1):
186 def Equals(self, other: Expression) -> bool:
187 if isinstance(other, Operator):
188 return self.operator == other.operator and self.lhs.Equals(
189 other.lhs) and self.rhs.Equals(other.rhs)
234 def Equals(self, other: Expression) -> bool:
235 if isinstance(other, Select):
236 return self.cond.Equals(other.cond) and self.false_val.Equals(
237 other.false_val) and self.true_val.Equals(other.true_val)
282 def Equals(self, other: Expression) -> bool:
283 if isinstance(other, Function):
284 result = self.fn == other.fn and self.lhs.Equals(other.lhs)
286 result = result and self.rhs.Equals(other.rhs)
322 def Equals(self, other: Expression) -> bool:
323 return isinstance(other, Event) and self.name == other.name
349 def Equals(self, other: Expression) -> bool:
350 return isinstance(other, Constant) and self.value == other.value
371 def Equals(self, other: Expression) -> bool:
372 return isinstance(other, Literal) and self.value == other.value
430 def __lt__(self, other): argument
432 return self.name < other.name