PyFile:PatternMatchingRecoveryClassPatternsFollowedByIllegalContent.py
  PyMatchStatement
    PsiElement(Py:MATCH_KEYWORD)('match')
    PsiWhiteSpace(' ')
    PyReferenceExpression: x
      PsiElement(Py:IDENTIFIER)('x')
    PsiElement(Py:COLON)(':')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
          PsiElement(Py:COMMA)(',')
          PsiWhiteSpace(' ')
          PyLiteralPattern
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('2')
          PsiElement(Py:RPAR)(')')
      PsiWhiteSpace(' ')
      PsiErrorElement:Unexpected tokens
        PsiElement(Py:PLUS)('+')
        PsiWhiteSpace(' ')
        PsiElement(Py:IDENTIFIER)('C')
        PsiElement(Py:LPAR)('(')
        PsiElement(Py:INTEGER_LITERAL)('3')
        PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyClassPattern
        PyReferenceExpression: C
          PsiElement(Py:IDENTIFIER)('C')
        PyPatternArgumentList
          PsiElement(Py:LPAR)('(')
          PyClassPattern
            PyReferenceExpression: C
              PsiElement(Py:IDENTIFIER)('C')
            PyPatternArgumentList
              PsiElement(Py:LPAR)('(')
              PyLiteralPattern
                PyNumericLiteralExpression
                  PsiElement(Py:INTEGER_LITERAL)('1')
              PsiElement(Py:COMMA)(',')
              PsiWhiteSpace(' ')
              PyLiteralPattern
                PyNumericLiteralExpression
                  PsiElement(Py:INTEGER_LITERAL)('2')
              PsiElement(Py:RPAR)(')')
          PsiErrorElement:Unexpected tokens
            PsiElement(Py:DOT)('.')
            PsiElement(Py:IDENTIFIER)('foo')
          PsiElement(Py:RPAR)(')')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')