Files
Mikhail Golubev 91d49d6c87 i18n: Extract Python parsing errors, fix their capitalization and format
GitOrigin-RevId: a7374f1cb1358005b371fcfdeb743a24e04e1fbf
2020-08-17 16:32:09 +00:00

20 lines
633 B
Plaintext

PyFile:RaiseFromNoExpr.py
PyFunction('f')
PsiElement(Py:DEF_KEYWORD)('def')
PsiWhiteSpace(' ')
PsiElement(Py:IDENTIFIER)('f')
PyParameterList
PsiElement(Py:LPAR)('(')
PsiElement(Py:RPAR)(')')
PsiElement(Py:COLON)(':')
PsiWhiteSpace('\n ')
PyStatementList
PyRaiseStatement
PsiElement(Py:RAISE_KEYWORD)('raise')
PsiWhiteSpace(' ')
PyReferenceExpression: AttributeError
PsiElement(Py:IDENTIFIER)('AttributeError')
PsiWhiteSpace(' ')
PsiElement(Py:FROM_KEYWORD)('from')
PsiErrorElement:Expression expected
<empty list>