Set literal expression {value, ...}.
| 2967 | |
| 2968 | |
| 2969 | class SetExpr(Expression): |
| 2970 | """Set literal expression {value, ...}.""" |
| 2971 | |
| 2972 | __slots__ = ("items",) |
| 2973 | |
| 2974 | __match_args__ = ("items",) |
| 2975 | |
| 2976 | items: list[Expression] |
| 2977 | |
| 2978 | def __init__(self, items: list[Expression]) -> None: |
| 2979 | super().__init__() |
| 2980 | self.items = items |
| 2981 | |
| 2982 | def accept(self, visitor: ExpressionVisitor[T]) -> T: |
| 2983 | return visitor.visit_set_expr(self) |
| 2984 | |
| 2985 | |
| 2986 | class GeneratorExpr(Expression): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…