PyFile:FStringStatementInsideExpression.py PyAssignmentStatement PyTargetExpression: s PsiElement(Py:IDENTIFIER)('s') PsiWhiteSpace(' ') PsiElement(Py:EQ)('=') PsiWhiteSpace(' ') PyStringLiteralExpression: { def func(): pass }""" PyFormattedStringNode PsiElement(Py:FSTRING_START)('f"""') PyFStringFragment PsiElement(Py:FSTRING_FRAGMENT_START)('{') PsiErrorElement:expression expected PsiWhiteSpace('\n') PsiErrorElement:Unexpected expression token PsiElement(Py:DEF_KEYWORD)('def') PsiWhiteSpace(' ') PsiErrorElement:Unexpected expression token PsiElement(Py:IDENTIFIER)('func') PsiErrorElement:Unexpected expression token PsiElement(Py:LPAR)('(') PsiErrorElement:Unexpected expression token PsiElement(Py:RPAR)(')') PsiErrorElement:Unexpected expression token PsiElement(Py:COLON)(':') PsiWhiteSpace('\n ') PsiErrorElement:Unexpected expression token PsiElement(Py:PASS_KEYWORD)('pass') PsiWhiteSpace('\n') PsiErrorElement:Unexpected expression token PsiElement(Py:RBRACE)('}') PsiErrorElement:Unexpected expression token PsiElement(Py:TRIPLE_QUOTED_STRING)('"""') PsiErrorElement:type conversion, : or } expected PsiErrorElement:Unexpected f-string token