| PyFile:CommentBeforeMethod.py | |
| PyClass: UserProfile | |
| PsiElement(Py:CLASS_KEYWORD)('class') | |
| PsiWhiteSpace(' ') | |
| PsiElement(Py:IDENTIFIER)('UserProfile') | |
| PyArgumentList | |
| <empty list> | |
| PsiElement(Py:COLON)(':') | |
| PsiWhiteSpace('\n ') | |
| PyStatementList | |
| PyPassStatement | |
| PsiElement(Py:PASS_KEYWORD)('pass') | |
| PsiWhiteSpace('\n ') | |
| PsiComment(Py:END_OF_LINE_COMMENT)('# trailing comment') | |
| PsiWhiteSpace('\n\n') | |
| PsiComment(Py:END_OF_LINE_COMMENT)('#leading comment') | |
| PsiWhiteSpace('\n') | |
| PsiComment(Py:END_OF_LINE_COMMENT)('#noinspection PyUnusedLocal') | |
| PsiWhiteSpace('\n') | |
| PyFunction('foo') | |
| PsiElement(Py:DEF_KEYWORD)('def') | |
| PsiWhiteSpace(' ') | |
| PsiElement(Py:IDENTIFIER)('foo') | |
| PyParameterList | |
| PsiElement(Py:LPAR)('(') | |
| PyNamedParameter('sender') | |
| PsiElement(Py:IDENTIFIER)('sender') | |
| PsiElement(Py:RPAR)(')') | |
| PsiElement(Py:COLON)(':') | |
| PsiWhiteSpace('\n ') | |
| PyStatementList | |
| PyPassStatement | |
| PsiElement(Py:PASS_KEYWORD)('pass') |