Files

28 lines
896 B
Plaintext

PyFile:TrailingSemicolon.py
PyFunction('foo')
PsiElement(Py:DEF_KEYWORD)('def')
PsiWhiteSpace(' ')
PsiElement(Py:IDENTIFIER)('foo')
PyParameterList
PsiElement(Py:LPAR)('(')
PyNamedParameter('a')
PsiElement(Py:IDENTIFIER)('a')
PsiElement(Py:RPAR)(')')
PsiElement(Py:COLON)(':')
PsiWhiteSpace('\n ')
PyStatementList
PyIfStatement
PyIfPartIf
PsiElement(Py:IF_KEYWORD)('if')
PsiWhiteSpace(' ')
PyReferenceExpression: a
PsiElement(Py:IDENTIFIER)('a')
PsiElement(Py:COLON)(':')
PsiWhiteSpace(' ')
PyStatementList
PyReturnStatement
PsiElement(Py:RETURN_KEYWORD)('return')
PsiWhiteSpace(' ')
PyReferenceExpression: a
PsiElement(Py:IDENTIFIER)('a')
PsiElement(Py:SEMICOLON)(';')