mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 09:12:22 +07:00
Typeshed doesn't contain the definitions for them in __builtins__.pyi so we have to provide types and detect the builtin status for these words as a special case.
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
PyFile:LambdaComprehension.py
|
|
PyExpressionStatement
|
|
PyListCompExpression
|
|
PsiElement(Py:LBRACKET)('[')
|
|
PyReferenceExpression: x
|
|
PsiElement(Py:IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:FOR_KEYWORD)('for')
|
|
PsiWhiteSpace(' ')
|
|
PyTargetExpression: x
|
|
PsiElement(Py:IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IN_KEYWORD)('in')
|
|
PsiWhiteSpace(' ')
|
|
PyTupleExpression
|
|
PyLambdaExpression
|
|
PsiElement(Py:LAMBDA_KEYWORD)('lambda')
|
|
PyParameterList
|
|
<empty list>
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
PyReferenceExpression: True
|
|
PsiElement(Py:IDENTIFIER)('True')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace(' ')
|
|
PyLambdaExpression
|
|
PsiElement(Py:LAMBDA_KEYWORD)('lambda')
|
|
PyParameterList
|
|
<empty list>
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
PyReferenceExpression: False
|
|
PsiElement(Py:IDENTIFIER)('False')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IF_KEYWORD)('if')
|
|
PsiWhiteSpace(' ')
|
|
PyCallExpression: x
|
|
PyReferenceExpression: x
|
|
PsiElement(Py:IDENTIFIER)('x')
|
|
PyArgumentList
|
|
PsiElement(Py:LPAR)('(')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:RBRACKET)(']') |