Lines Matching refs:Expression

10 class Expression:  class
84 def _Constify(val: Union[bool, int, float, Expression]) -> Expression: argument
112 class Operator(Expression):
115 def __init__(self, operator: str, lhs: Union[int, float, Expression], argument
116 rhs: Union[int, float, Expression]):
122 other: Expression, argument
161 def Simplify(self) -> Expression:
192 def Equals(self, other: Expression) -> bool: argument
198 def Substitute(self, name: str, expression: Expression) -> Expression: argument
208 class Select(Expression):
211 def __init__(self, true_val: Union[int, float, Expression], argument
212 cond: Union[int, float, Expression],
213 false_val: Union[int, float, Expression]):
228 def Simplify(self) -> Expression:
240 def Equals(self, other: Expression) -> bool: argument
246 def Substitute(self, name: str, expression: Expression) -> Expression: argument
255 class Function(Expression):
260 lhs: Union[int, float, Expression], argument
261 rhs: Optional[Union[int, float, Expression]] = None): argument
276 def Simplify(self) -> Expression:
288 def Equals(self, other: Expression) -> bool: argument
296 def Substitute(self, name: str, expression: Expression) -> Expression: argument
311 class Event(Expression):
325 def Simplify(self) -> Expression:
328 def Equals(self, other: Expression) -> bool: argument
331 def Substitute(self, name: str, expression: Expression) -> Expression: argument
335 class Constant(Expression):
352 def Simplify(self) -> Expression:
355 def Equals(self, other: Expression) -> bool: argument
358 def Substitute(self, name: str, expression: Expression) -> Expression: argument
362 class Literal(Expression):
374 def Simplify(self) -> Expression:
377 def Equals(self, other: Expression) -> bool: argument
380 def Substitute(self, name: str, expression: Expression) -> Expression: argument
384 def min(lhs: Union[int, float, Expression], rhs: Union[int, float, argument
385 Expression]) -> Function:
391 def max(lhs: Union[int, float, Expression], rhs: Union[int, float, argument
392 Expression]) -> Function:
398 def d_ratio(lhs: Union[int, float, Expression], argument
399 rhs: Union[int, float, Expression]) -> Function:
424 expr: Expression
431 expr: Expression, argument
531 def ParsePerfJson(orig: str) -> Expression:
573 def RewriteMetricsInTermsOfOthers(metrics: List[Tuple[str, str, Expression]] argument
574 )-> Dict[Tuple[str, str], Expression]:
582 updates: Dict[Tuple[str, str], Expression] = dict()