blob: 7728db86468f534dcd9b33c04c35e0ec8ddee1ab [file]
PyFile:FStringIncompleteFragmentWithFormatPart.py
PyAssignmentStatement
PyTargetExpression: s
PsiElement(Py:IDENTIFIER)('s')
PsiWhiteSpace(' ')
PsiElement(Py:EQ)('=')
PsiWhiteSpace(' ')
PyStringLiteralExpression: {42:{width}
PyFormattedStringElement
PsiElement(Py:FSTRING_START)('f"')
PyFStringFragment
PsiElement(Py:FSTRING_FRAGMENT_START)('{')
PyNumericLiteralExpression
PsiElement(Py:INTEGER_LITERAL)('42')
PyFStringFragmentFormatPart
PsiElement(Py:FSTRING_FRAGMENT_FORMAT_START)(':')
PyFStringFragment
PsiElement(Py:FSTRING_FRAGMENT_START)('{')
PyReferenceExpression: width
PsiElement(Py:IDENTIFIER)('width')
PsiElement(Py:FSTRING_FRAGMENT_END)('}')
PsiErrorElement:} expected
<empty list>
PsiElement(Py:FSTRING_END)('"')