PyFile:PatternMatchingRecoveryFStringsInLiteralPatterns.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(' ')
      PsiErrorElement:Pattern expected
        PsiElement(Py:FSTRING_START)('f'')
        PsiElement(Py:FSTRING_TEXT)('foo')
        PsiElement(Py:FSTRING_END)(''')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyLiteralPattern
        PyStringLiteralExpression: foo
          PsiElement(Py:SINGLE_QUOTED_STRING)(''foo'')
      PsiWhiteSpace(' ')
      PsiErrorElement:Unexpected tokens
        PsiElement(Py:FSTRING_START)('f'')
        PsiElement(Py:FSTRING_TEXT)('bar')
        PsiElement(Py:FSTRING_END)(''')
        PsiWhiteSpace(' ')
        PsiElement(Py:SINGLE_QUOTED_STRING)(''baz'')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PsiErrorElement:Pattern expected
        PsiElement(Py:FSTRING_START)('f'')
        PsiElement(Py:FSTRING_FRAGMENT_START)('{')
        PsiElement(Py:IDENTIFIER)('x')
        PsiElement(Py:FSTRING_FRAGMENT_END)('}')
        PsiElement(Py:FSTRING_END)(''')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PsiErrorElement:Pattern expected
        PsiElement(Py:FSTRING_START)('f'')
        PsiElement(Py:FSTRING_FRAGMENT_START)('{')
        PsiElement(Py:IDENTIFIER)('x')
        PsiElement(Py:FSTRING_FRAGMENT_FORMAT_START)(':')
        PsiElement(Py:FSTRING_TEXT)('foo')
        PsiElement(Py:FSTRING_END)(''')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')
    PsiWhiteSpace('\n    ')
    PyCaseClause
      PsiElement(Py:CASE_KEYWORD)('case')
      PsiWhiteSpace(' ')
      PyLiteralPattern
        PyBoolLiteralExpression
          PsiElement(Py:TRUE_KEYWORD)('True')
      PsiElement(Py:COLON)(':')
      PsiWhiteSpace('\n        ')
      PyStatementList
        PyPassStatement
          PsiElement(Py:PASS_KEYWORD)('pass')