Float literal
| 2315 | |
| 2316 | |
| 2317 | class FloatExpr(Expression): |
| 2318 | """Float literal""" |
| 2319 | |
| 2320 | __slots__ = ("value",) |
| 2321 | |
| 2322 | __match_args__ = ("value",) |
| 2323 | |
| 2324 | value: float # 0.0 by default |
| 2325 | |
| 2326 | def __init__(self, value: float) -> None: |
| 2327 | super().__init__() |
| 2328 | self.value = value |
| 2329 | |
| 2330 | def accept(self, visitor: ExpressionVisitor[T]) -> T: |
| 2331 | return visitor.visit_float_expr(self) |
| 2332 | |
| 2333 | |
| 2334 | class ComplexExpr(Expression): |
no outgoing calls
no test coverage detected
searching dependent graphs…