mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
24 lines
801 B
Plaintext
24 lines
801 B
Plaintext
PyFile:KeywordAsNamedParameter.py
|
|
PyFunction('f')
|
|
PsiElement(Py:DEF_KEYWORD)('def')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IDENTIFIER)('f')
|
|
PyParameterList
|
|
PsiElement(Py:LPAR)('(')
|
|
PsiErrorElement:Formal parameter name expected
|
|
PsiElement(Py:FROM_KEYWORD)('from')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiElement(Py:INTEGER_LITERAL)('1')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace(' ')
|
|
PyNamedParameter('another_one')
|
|
PsiElement(Py:IDENTIFIER)('another_one')
|
|
PsiElement(Py:EQ)('=')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('2')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace('\n ')
|
|
PyStatementList
|
|
PyPassStatement
|
|
PsiElement(Py:PASS_KEYWORD)('pass') |