Expression super().name
| 2846 | |
| 2847 | |
| 2848 | class SuperExpr(Expression): |
| 2849 | """Expression super().name""" |
| 2850 | |
| 2851 | __slots__ = ("name", "info", "call") |
| 2852 | |
| 2853 | __match_args__ = ("name", "call", "info") |
| 2854 | |
| 2855 | name: str |
| 2856 | info: TypeInfo | None # Type that contains this super expression |
| 2857 | call: CallExpr # The expression super(...) |
| 2858 | |
| 2859 | def __init__(self, name: str, call: CallExpr) -> None: |
| 2860 | super().__init__() |
| 2861 | self.name = name |
| 2862 | self.call = call |
| 2863 | self.info = None |
| 2864 | |
| 2865 | def accept(self, visitor: ExpressionVisitor[T]) -> T: |
| 2866 | return visitor.visit_super_expr(self) |
| 2867 | |
| 2868 | |
| 2869 | class LambdaExpr(FuncItem, Expression): |
no outgoing calls
no test coverage detected
searching dependent graphs…