Lines Matching defs:Expression
10 class Expression: class
29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression':
35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator':
38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator':
41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator':
44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator':
47 def __rand__(self, other: Union[int, float, 'Expression']) -> 'Operator':
50 def __lt__(self, other: Union[int, float, 'Expression']) -> 'Operator':
53 def __gt__(self, other: Union[int, float, 'Expression']) -> 'Operator':
56 def __add__(self, other: Union[int, float, 'Expression']) -> 'Operator':
59 def __radd__(self, other: Union[int, float, 'Expression']) -> 'Operator':
62 def __sub__(self, other: Union[int, float, 'Expression']) -> 'Operator':
65 def __rsub__(self, other: Union[int, float, 'Expression']) -> 'Operator':
68 def __mul__(self, other: Union[int, float, 'Expression']) -> 'Operator':
71 def __rmul__(self, other: Union[int, float, 'Expression']) -> 'Operator':
74 def __truediv__(self, other: Union[int, float, 'Expression']) -> 'Operator':
77 def __rtruediv__(self, other: Union[int, float, 'Expression']) -> 'Operator':
80 def __mod__(self, other: Union[int, float, 'Expression']) -> 'Operator':
84 def _Constify(val: Union[bool, int, float, Expression]) -> Expression: argument
115 def __init__(self, operator: str, lhs: Union[int, float, Expression], argument
122 other: Expression,
192 def Equals(self, other: Expression) -> bool:
198 def Substitute(self, name: str, expression: Expression) -> Expression:
211 def __init__(self, true_val: Union[int, float, Expression], argument
240 def Equals(self, other: Expression) -> bool:
246 def Substitute(self, name: str, expression: Expression) -> Expression:
260 lhs: Union[int, float, Expression], argument
261 rhs: Optional[Union[int, float, Expression]] = None): argument
288 def Equals(self, other: Expression) -> bool:
296 def Substitute(self, name: str, expression: Expression) -> Expression:
328 def Equals(self, other: Expression) -> bool:
331 def Substitute(self, name: str, expression: Expression) -> Expression:
355 def Equals(self, other: Expression) -> bool:
358 def Substitute(self, name: str, expression: Expression) -> Expression:
377 def Equals(self, other: Expression) -> bool:
380 def Substitute(self, name: str, expression: Expression) -> Expression:
384 def min(lhs: Union[int, float, Expression], rhs: Union[int, float, argument
391 def max(lhs: Union[int, float, Expression], rhs: Union[int, float, argument
398 def d_ratio(lhs: Union[int, float, Expression], argument
431 expr: Expression,
573 def RewriteMetricsInTermsOfOthers(metrics: List[Tuple[str, str, Expression]] argument