Files
openide/python/testData/psi/KeywordAsDefaultParameterValue.txt
Mikhail Golubev 91d49d6c87 i18n: Extract Python parsing errors, fix their capitalization and format
GitOrigin-RevId: a7374f1cb1358005b371fcfdeb743a24e04e1fbf
2020-08-17 16:32:09 +00:00

22 lines
720 B
Plaintext

PyFile:KeywordAsDefaultParameterValue.py
PyFunction('select2')
PsiElement(Py:DEF_KEYWORD)('def')
PsiWhiteSpace(' ')
PsiElement(Py:IDENTIFIER)('select2')
PyParameterList
PsiElement(Py:LPAR)('(')
PyNamedParameter('self')
PsiElement(Py:IDENTIFIER)('self')
PsiElement(Py:COMMA)(',')
PsiWhiteSpace(' ')
PyNamedParameter('fields')
PsiElement(Py:IDENTIFIER)('fields')
PsiElement(Py:EQ)('=')
PsiErrorElement:Expression expected
PsiElement(Py:FROM_KEYWORD)('from')
PsiElement(Py:RPAR)(')')
PsiElement(Py:COLON)(':')
PsiWhiteSpace('\n ')
PyStatementList
PyPassStatement
PsiElement(Py:PASS_KEYWORD)('pass')