Files
openide/python/testData/psi/MissingParenInCall.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

44 lines
1.4 KiB
Plaintext

PyFile:MissingParenInCall.py
PyFunction('get_key')
PsiElement(Py:DEF_KEYWORD)('def')
PsiWhiteSpace(' ')
PsiElement(Py:IDENTIFIER)('get_key')
PyParameterList
PsiElement(Py:LPAR)('(')
PsiElement(Py:RPAR)(')')
PsiElement(Py:COLON)(':')
PsiWhiteSpace('\n ')
PyStatementList
PyIfStatement
PyIfPartIf
PsiElement(Py:IF_KEYWORD)('if')
PsiWhiteSpace(' ')
PyCallExpression: isinstance
PyReferenceExpression: isinstance
PsiElement(Py:IDENTIFIER)('isinstance')
PyArgumentList
PsiElement(Py:LPAR)('(')
PyReferenceExpression: instance
PyReferenceExpression: self
PsiElement(Py:IDENTIFIER)('self')
PsiElement(Py:DOT)('.')
PsiElement(Py:IDENTIFIER)('instance')
PsiElement(Py:COMMA)(',')
PsiErrorElement:Expression expected
<empty list>
PsiWhiteSpace('\n\n')
PyStatementList
PsiErrorElement:Indent expected
<empty list>
PyFunction('clean')
PsiElement(Py:DEF_KEYWORD)('def')
PsiWhiteSpace(' ')
PsiElement(Py:IDENTIFIER)('clean')
PyParameterList
PsiElement(Py:LPAR)('(')
PsiElement(Py:RPAR)(')')
PsiElement(Py:COLON)(':')
PsiWhiteSpace('\n ')
PyStatementList
PyPassStatement
PsiElement(Py:PASS_KEYWORD)('pass')