mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
PyFile:CommaAfterStarArg.py
|
|
PyFunction('some_function')
|
|
PsiElement(Py:DEF_KEYWORD)('def')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IDENTIFIER)('some_function')
|
|
PyParameterList
|
|
PsiElement(Py:LPAR)('(')
|
|
PyNamedParameter('args')
|
|
PsiElement(Py:MULT)('*')
|
|
PsiElement(Py:IDENTIFIER)('args')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiErrorElement:Expression expected
|
|
<empty list>
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(Py:END_OF_LINE_COMMENT)('# <- missing highlighting here')
|
|
PsiWhiteSpace('\n ')
|
|
PyStatementList
|
|
PyPassStatement
|
|
PsiElement(Py:PASS_KEYWORD)('pass')
|
|
PsiWhiteSpace('\n\n')
|
|
PyFunction('some_function')
|
|
PsiElement(Py:DEF_KEYWORD)('def')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IDENTIFIER)('some_function')
|
|
PyParameterList
|
|
PsiElement(Py:LPAR)('(')
|
|
PyNamedParameter('kwargs')
|
|
PsiElement(Py:EXP)('**')
|
|
PsiElement(Py:IDENTIFIER)('kwargs')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiErrorElement:Expression expected
|
|
<empty list>
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(Py:END_OF_LINE_COMMENT)('# <- missing highlighting here')
|
|
PsiWhiteSpace('\n ')
|
|
PyStatementList
|
|
PyPassStatement
|
|
PsiElement(Py:PASS_KEYWORD)('pass') |