Files
openide/python/testData/psi/CompoundStatementAfterSemicolon.txt
T

28 lines
849 B
Plaintext

PyFile:CompoundStatementAfterSemicolon.py
PyAssignmentStatement
PyTargetExpression: a
PsiElement(Py:IDENTIFIER)('a')
PsiWhiteSpace(' ')
PsiElement(Py:EQ)('=')
PsiWhiteSpace(' ')
PyNumericLiteralExpression
PsiElement(Py:INTEGER_LITERAL)('0')
PsiElement(Py:SEMICOLON)(';')
PsiWhiteSpace(' ')
PsiElement(Py:IF_KEYWORD)('if')
PsiErrorElement:Statement expected, found Py:IF_KEYWORD
<empty list>
PsiWhiteSpace(' ')
PyExpressionStatement
PyReferenceExpression: a
PsiElement(Py:IDENTIFIER)('a')
PsiErrorElement:End of statement expected
<empty list>
PsiElement(Py:COLON)(':')
PsiErrorElement:Statement expected, found Py:COLON
<empty list>
PsiWhiteSpace('\n ')
PsiErrorElement:Unexpected indent
<empty list>
PyPassStatement
PsiElement(Py:PASS_KEYWORD)('pass')