PyFile:PatternMatchingRecoveryIncompleteMappingPatterns.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(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PsiErrorElement:'}' expected
          <empty list>
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
          PsiErrorElement:End of statement expected
            <empty list>
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyLiteralPattern
          PyStringLiteralExpression: foo
            PsiElement(Py:SINGLE_QUOTED_STRING)('"foo"')
        PsiErrorElement:':' expected
          <empty list>
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
          PsiErrorElement:End of statement expected
            <empty list>
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyLiteralPattern
          PyStringLiteralExpression: foo
            PsiElement(Py:SINGLE_QUOTED_STRING)('"foo"')
        PsiErrorElement:':' expected
          <empty list>
        PsiElement(Py:COMMA)(',')
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
          PsiErrorElement:End of statement expected
            <empty list>
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyKeyValuePattern
          PyLiteralPattern
            PyStringLiteralExpression: foo
              PsiElement(Py:SINGLE_QUOTED_STRING)('"foo"')
          PsiElement(Py:COLON)(':')
          PsiErrorElement:Pattern expected
            <empty list>
        PsiElement(Py:RBRACE)('}')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
          PsiErrorElement:End of statement expected
            <empty list>
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyMappingPattern
        PsiElement(Py:LBRACE)('{')
        PyKeyValuePattern
          PyLiteralPattern
            PyStringLiteralExpression: foo
              PsiElement(Py:SINGLE_QUOTED_STRING)('"foo"')
          PsiElement(Py:COLON)(':')
          PsiErrorElement:Pattern expected
            <empty list>
        PsiElement(Py:COMMA)(',')
        PsiWhiteSpace(' ')
        PyKeyValuePattern
          PyMappingPattern
            PsiElement(Py:LBRACE)('{')
            PyKeyValuePattern
              PyLiteralPattern
                PyStringLiteralExpression: bar
                  PsiElement(Py:SINGLE_QUOTED_STRING)('"bar"')
              PsiElement(Py:COLON)(':')
              PsiWhiteSpace(' ')
              PyLiteralPattern
                PyNumericLiteralExpression
                  PsiElement(Py:INTEGER_LITERAL)('1')
            PsiElement(Py:RBRACE)('}')
          PsiElement(Py:COLON)(':')
          PsiErrorElement:Pattern expected
            <empty list>
      PsiWhiteSpace('\n        ')
      PsiErrorElement:Unexpected tokens
        PsiElement(Py:PASS_KEYWORD)('pass')
        PsiWhiteSpace('\n    ')
        PsiElement(Py:IDENTIFIER)('case')
        PsiWhiteSpace(' ')
        PsiElement(Py:LBRACE)('{')
        PsiElement(Py:SINGLE_QUOTED_STRING)('"foo"')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace(' ')
      PyStatementList
        PyTypeDeclarationStatement
          PyTupleExpression
            PyNumericLiteralExpression
              PsiElement(Py:INTEGER_LITERAL)('1')
            PsiElement(Py:COMMA)(',')
            PsiWhiteSpace(' ')
            PyStringLiteralExpression: baz
              PsiElement(Py:SINGLE_QUOTED_STRING)('"baz"')
          PyAnnotation
            PsiElement(Py:COLON)(':')
            PsiErrorElement:Expression expected
              <empty list>
    PsiWhiteSpace(' ')
    PsiErrorElement:Case clause expected
      PsiElement(Py:COMMA)(',')
      PsiErrorElement:Statement expected, found Py:COMMA
        <empty list>
    PsiErrorElement:Case clause expected
      PsiElement(Py:RBRACE)('}')
      PsiErrorElement:Statement expected, found Py:RBRACE
        <empty list>
    PsiWhiteSpace('\n        ')
    PsiErrorElement:Case clause expected
      PyPassStatement
        PsiElement(Py:PASS_KEYWORD)('pass')