mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 09:12:22 +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.
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
PyFile:EmptyFStrings.py
|
|
PyAssignmentStatement
|
|
PyTargetExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
PyParenthesizedExpression
|
|
PsiElement(Py:LPAR)('(')
|
|
PyTupleExpression
|
|
PyStringLiteralExpression:
|
|
PyFormattedStringElement
|
|
PsiElement(Py:FSTRING_START)('f'')
|
|
PsiElement(Py:FSTRING_END)(''')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace('\n ')
|
|
PyStringLiteralExpression:
|
|
PyFormattedStringElement
|
|
PsiElement(Py:FSTRING_START)('F"')
|
|
PsiElement(Py:FSTRING_END)('"')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace('\n ')
|
|
PyStringLiteralExpression:
|
|
PyFormattedStringElement
|
|
PsiElement(Py:FSTRING_START)('rf"""')
|
|
PsiElement(Py:FSTRING_END)('"""')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace('\n ')
|
|
PyStringLiteralExpression:
|
|
PyFormattedStringElement
|
|
PsiElement(Py:FSTRING_START)('FR'''')
|
|
PsiElement(Py:FSTRING_END)(''''')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace('\n ')
|
|
PsiElement(Py:RPAR)(')') |