mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
23 lines
745 B
Plaintext
23 lines
745 B
Plaintext
PyFile:LambdaConditional.py
|
|
PyExpressionStatement
|
|
PyLambdaExpression
|
|
PsiElement(Py:LAMBDA_KEYWORD)('lambda')
|
|
PsiWhiteSpace(' ')
|
|
PyParameterList
|
|
PyParameter
|
|
PsiElement(Py:IDENTIFIER)('x')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
PyConditionalExpression
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('5')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IF_KEYWORD)('if')
|
|
PsiWhiteSpace(' ')
|
|
PyReferenceExpression: x
|
|
PsiElement(Py:IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:ELSE_KEYWORD)('else')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('2') |