mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
so as not to cause confusion with ASTNode. Also additionally rename PyLiteralStringElement to PyPlainStringElement, again, not to confuse users with subtle "string literal" vs. "literal string" differences in meaning.
18 lines
670 B
Plaintext
18 lines
670 B
Plaintext
PyFile:FStringSingleSlashBeforeLeftBraceInLiteralPart.py
|
|
PyAssignmentStatement
|
|
PyTargetExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
PyStringLiteralExpression: foo\{42}
|
|
PyFormattedStringElement
|
|
PsiElement(Py:FSTRING_START)('f'')
|
|
PsiElement(Py:FSTRING_TEXT)('foo')
|
|
PsiElement(Py:FSTRING_TEXT)('\')
|
|
PyFStringFragment
|
|
PsiElement(Py:FSTRING_FRAGMENT_START)('{')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('42')
|
|
PsiElement(Py:FSTRING_FRAGMENT_END)('}')
|
|
PsiElement(Py:FSTRING_END)(''') |