Interface ClassPattern

  • All Superinterfaces:
    Pattern, Tree
    All Known Implementing Classes:
    ClassPatternImpl

    public interface ClassPattern
    extends Pattern
    Class pattern
    case Foo(x): ...
    See https://docs.python.org/3/reference/compound_stmts.html#class-patterns