mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
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') |